mc -> mdesk; I do not know what Monkey C is

This commit is contained in:
Ryan Fleury
2024-01-12 19:22:11 -08:00
parent 5410fac38e
commit 2078af15f9
14 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -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
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
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
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
+1 -2
View File
@@ -18,9 +18,8 @@ patterns =
"*.bfs",
"*.html",
"*.txt",
"*.ds",
"*.md",
"*.mc",
"*.mdesk",
"*.asm",
};
+1 -1
View File
@@ -86,7 +86,7 @@ int main(int argument_count, char **arguments)
{
String8 file_path = n->string;
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);
MD_TokenizeResult tokenize = md_tokenize_from_text(mg_arena, data);
View File