Improving multimedia, trying to add a single c library mode

This commit is contained in:
Krzosa Karol
2022-10-02 12:53:29 +02:00
parent 5baff3585e
commit e098663d82
9 changed files with 152 additions and 100 deletions

View File

@@ -13,6 +13,8 @@ In the future
- [ ] Complicated c declaration generation
- [ ] The fact that symbols from main file get introduced to the loaded files
might be kind of confusing, need to watch out for that
- [ ] Define some pragama that forces lambda evaluation in module #force_evaluate
- [ ]
- [ ] Conditional compilation
- [ ] Expand macros
@@ -291,7 +293,9 @@ int main(int argument_count, char **arguments){
test_string_builder();
test_intern_table();
emit_line_directives = true;
emit_line_directives = false;
emit_type_info = false;
symbol_prefix = "Ray_"_s;
if(argument_count > 1){
String program_name = string_from_cstring(arguments[1]);
compile_file(program_name, COMPILE_PRINT_STATS);