Restructure

This commit is contained in:
Krzosa Karol
2022-05-31 18:29:35 +02:00
parent 20accf8293
commit 0360086bab
7 changed files with 516 additions and 479 deletions

View File

@@ -1,11 +1,3 @@
#include "base.cpp"
#include "base_unicode.cpp"
#include "new_lex.cpp"
#include "new_ast.cpp"
#include "new_parse.cpp"
#include "typechecking.cpp"
#include "ccodegen.cpp"
/*
-------------------------------------------------------------------------------
@@ -41,6 +33,7 @@ For now I don't thing it should be overloadable.
@todo
[ ] - For loop
[ ] - More operators
[ ] - Init statements
[ ] - Fixing access to constants, in C we cant have constants inside of structs / functions so we need to rewrite the tree
[ ] - Default values in structs??? Should compound stmts bring values from default values?? Maybe not? Whats the alternative
@@ -73,7 +66,14 @@ For now I don't thing it should be overloadable.
*/
#include "base.cpp"
#include "base_unicode.cpp"
#include "new_lex.cpp"
#include "new_ast.cpp"
#include "new_parse.cpp"
#include "typecheck.h"
#include "typecheck.cpp"
#include "ccodegen.cpp"
int main(){
test_os_memory();