mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 22:08:41 +00:00
mc -> mdesk; I do not know what Monkey C is
This commit is contained in:
@@ -187,7 +187,7 @@ A list of the layers in the codebase and their associated namespaces is below:
|
|||||||
- `hash_store` (`HS_`): Implements a cache for general data blobs, keyed by a
|
- `hash_store` (`HS_`): Implements a cache for general data blobs, keyed by a
|
||||||
128-bit hash of the data. Used as a general data store by other layers.
|
128-bit hash of the data. Used as a general data store by other layers.
|
||||||
- `metagen` (`MG_`): A metaprogram which is used to generate primarily code and
|
- `metagen` (`MG_`): A metaprogram which is used to generate primarily code and
|
||||||
data tables. Consumes Metadesk files, stored with the extension `.mc`, and
|
data tables. Consumes Metadesk files, stored with the extension `.mdesk`, and
|
||||||
generates C code which is then included by hand-written C code. Currently, it
|
generates C code which is then included by hand-written C code. Currently, it
|
||||||
does not analyze the codebase's hand-written C code, but in principle this is
|
does not analyze the codebase's hand-written C code, but in principle this is
|
||||||
possible. This allows easier & less-error-prone management of large data
|
possible. This allows easier & less-error-prone management of large data
|
||||||
|
|||||||
+1
-2
@@ -18,9 +18,8 @@ patterns =
|
|||||||
"*.bfs",
|
"*.bfs",
|
||||||
"*.html",
|
"*.html",
|
||||||
"*.txt",
|
"*.txt",
|
||||||
"*.ds",
|
|
||||||
"*.md",
|
"*.md",
|
||||||
"*.mc",
|
"*.mdesk",
|
||||||
"*.asm",
|
"*.asm",
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -86,7 +86,7 @@ int main(int argument_count, char **arguments)
|
|||||||
{
|
{
|
||||||
String8 file_path = n->string;
|
String8 file_path = n->string;
|
||||||
String8 file_ext = str8_skip_last_dot(file_path);
|
String8 file_ext = str8_skip_last_dot(file_path);
|
||||||
if(str8_match(file_ext, str8_lit("mc"), 0))
|
if(str8_match(file_ext, str8_lit("mdesk"), 0))
|
||||||
{
|
{
|
||||||
String8 data = os_data_from_file_path(mg_arena, file_path);
|
String8 data = os_data_from_file_path(mg_arena, file_path);
|
||||||
MD_TokenizeResult tokenize = md_tokenize_from_text(mg_arena, data);
|
MD_TokenizeResult tokenize = md_tokenize_from_text(mg_arena, data);
|
||||||
|
|||||||
Reference in New Issue
Block a user