Compiling with new untyped system

This commit is contained in:
Krzosa Karol
2022-06-06 08:56:03 +02:00
parent e12e0ee561
commit 6157325d8f
8 changed files with 2423 additions and 281 deletions

View File

@@ -63,6 +63,7 @@ For now I don't thing it should be overloadable.
[x] - Test new operators, add constant eval for them
[x] - lvalue, rvalue concept so we cant assign value to some arbitrary weird expression
[x] - More basic types
[x] - Implementing required operations int128
[x] - Add basic support for floats
[x] - Add basic setup for new type system
[x] - Access through struct names to constants Arena.CONSTANT
@@ -94,15 +95,17 @@ For now I don't thing it should be overloadable.
#include "base_unicode.cpp"
#include "new_lex.cpp"
#include "types.h"
#include "big_int_c3.cpp"
// #include "big_int.cpp"
#include "new_ast.cpp"
#include "new_parse.cpp"
#include "typecheck.h"
#include "typecheck.cpp"
#include "ccodegen.cpp"
#include "big_int.cpp"
int main(){
test_big_int();
// test_big_int();
test_os_memory();
thread_ctx_init();
@@ -114,6 +117,7 @@ int main(){
test_string_builder();
test_intern_table();
String result = {};
#if 0
result = compile_file("globals.kl"_s);