#include "base.cpp" #include "base_unicode.cpp" #include "new_lex.cpp" #include "new_ast.cpp" #include "new_parse.cpp" #include "new_type.cpp" #include "new_resolve.cpp" #include "ccodegen.cpp" /// @todo /// [x] - Typespecs should probably be expressions so stuff like would be possible :: *[32]int int main(){ test_os_memory(); thread_ctx_init(); test_unicode(); test_types(); map_test(); test_array(); test_string_builder(); test_intern_table(); lex_test(); String result = compile_file("globals.kl"_s); // String result = compile_file("lambdas.kl"_s); // String result = compile_file("order_independent_globals.kl"_s); printf("%s", result.str); // compile_file("lambdas.kl"_s); // compile_file("globals.kl"_s); __debugbreak(); }