Commit Graph

118 Commits

Author SHA1 Message Date
Krzosa Karol
798453c7db Adding parent nodes to asts 2022-05-27 16:19:18 +02:00
Krzosa Karol
d6401ff05d Recursive lambdas with new system 2022-05-27 15:35:15 +02:00
Krzosa Karol
79aa52e726 Typedef works for simple case 2022-05-27 15:18:07 +02:00
Krzosa Karol
8875b61970 Add typedefs in codegen, globals is working 2022-05-27 15:00:45 +02:00
Krzosa Karol
46abf8c1a6 Initial working version of types as expressions 2022-05-27 13:46:27 +02:00
Krzosa Karol
d8a9b318b7 Changing typespecs to be normal expressions 2022-05-27 12:29:51 +02:00
Krzosa Karol
f66fd447e5 Removed resolved pointer from Ast_Typespec, it's accessed using a map now 2022-05-27 12:05:23 +02:00
Krzosa Karol
18a895153e Basic order independent decls working 2022-05-26 21:30:50 +02:00
Krzosa Karol
b773ad1c17 Trying to add order indendent decls 2022-05-26 21:09:07 +02:00
Krzosa Karol
0e398c84b6 Cleanup, There is no decl anymore, Ast_Named 2022-05-26 20:21:24 +02:00
Krzosa Karol
f4c05923c9 Compile string, working on scopes 2022-05-26 11:54:12 +02:00
Krzosa Karol
5176b40204 Generating valid c code, more work on null values 2022-05-24 20:33:11 +02:00
Krzosa Karol
30736d37b6 Starting from scratch on smaller scale, typechecking global and constant variables, compound expressions for arrays 2022-05-20 10:54:20 +02:00
Krzosa Karol
d993623a50 Types, Fixed personal arena 2022-05-13 22:02:55 +02:00
Krzosa Karol
ea0b1c352d Allocator logging 2022-05-13 20:36:42 +02:00
Krzosa Karol
2689aa9ba1 Pratt parsing, basic ast, decl parse const 2022-05-13 16:04:39 +02:00
Krzosa Karol
9c22a379ea Moving to C++ with new idea 2022-05-13 10:12:09 +02:00
Krzosa Karol
9d54ed8195 Parsing complete mostly, ordering, resolving, C++ tests 2022-05-12 17:10:24 +02:00