Add todos

This commit is contained in:
Krzosa Karol
2023-01-01 17:50:22 +01:00
parent d6a5df8d95
commit 3de813212a
2 changed files with 11 additions and 2 deletions

View File

@@ -1,12 +1,13 @@
/* /*
@! Dont fully rely on files!!!
@! Language.core shouldnt be a file!
@! Separate out the codegen stage cause that can change @! Separate out the codegen stage cause that can change
@! Look into String_Builders in Core_Ctx @! Look into String_Builders in Core_Ctx
@! Look into stage allocator and perhaps @! Look into stage allocator and perhaps
use it more often to reduce scenarios use it more often to reduce scenarios
with 2 allocators, and simplify stuff with 2 allocators, and simplify stuff
@! Cleanup big int allocator @! Cleanup big int allocator
@! Replace iterator interface
@! Errors and logs should be placed on the compiler context @! Errors and logs should be placed on the compiler context
@! Clean way to free all memory and reset the compiler @! Clean way to free all memory and reset the compiler

View File

@@ -630,4 +630,12 @@ struct Ast_Decl: Ast{
}; };
}; };
/*END*/ /*END*/
}; };
/*
Array<Token> lex_file(Allocator *allocator, char *filename);
Array<Token> lex_string(Allocator *allocator, char *string, size_t size);
*/