diff --git a/core_compiler.h b/core_compiler.h index 7ef4473..269e388 100644 --- a/core_compiler.h +++ b/core_compiler.h @@ -1,12 +1,13 @@ /* + @! Dont fully rely on files!!! + @! Language.core shouldnt be a file! @! Separate out the codegen stage cause that can change @! Look into String_Builders in Core_Ctx @! Look into stage allocator and perhaps use it more often to reduce scenarios with 2 allocators, and simplify stuff @! Cleanup big int allocator - @! Replace iterator interface @! Errors and logs should be placed on the compiler context @! Clean way to free all memory and reset the compiler diff --git a/core_compiler_interface.hpp b/core_compiler_interface.hpp index cdfd1ed..551ecdc 100644 --- a/core_compiler_interface.hpp +++ b/core_compiler_interface.hpp @@ -630,4 +630,12 @@ struct Ast_Decl: Ast{ }; }; /*END*/ -}; \ No newline at end of file +}; + +/* + Array lex_file(Allocator *allocator, char *filename); + Array lex_string(Allocator *allocator, char *string, size_t size); + + + + */ \ No newline at end of file