Commit Graph

18 Commits

Author SHA1 Message Date
Krzosa Karol
bcd825c154 New concept of AST_MODULE, Ast_File and Ast_Module are now both scopes.
Concept of loading and importing.
2022-06-13 13:39:31 +02:00
Krzosa Karol
8bd5e9638f More module work 2022-06-13 12:01:28 +02:00
Krzosa Karol
0fcdd02c5b Rewritten field access, lose functionality but I'm fine with it, it's simpler now,
might need to support casting
2022-06-11 23:19:41 +02:00
Krzosa Karol
ac371b7203 Fix bug where you could have same named decls 2022-06-11 10:01:31 +02:00
Krzosa Karol
3b4e14a089 Squashing compound bugs 2022-06-11 09:59:03 +02:00
Krzosa Karol
b76b9c605a Compound arrays 2022-06-11 09:54:35 +02:00
Krzosa Karol
7365d6aa88 Basic compound parsing, maybe I should unify with calls again 2022-06-10 23:03:21 +02:00
Krzosa Karol
37e56a0914 Compiling global, work on AST_LAMBDA_EXPR 2022-06-10 22:06:35 +02:00
Krzosa Karol
729e7aee86 Fixing type checking 2022-06-06 22:14:30 +02:00
Krzosa Karol
960523b443 Remove int uint, all programs compiling 2022-06-06 09:36:37 +02:00
Krzosa Karol
a324a5abf0 Compiling and running first program! 2022-06-03 23:15:16 +02:00
Krzosa Karol
173ef843df New types, Value rework, Sym cleanup 2022-06-02 22:17:28 +02:00
Krzosa Karol
9a58e407a4 Remove null 2022-06-02 09:59:12 +02:00
Krzosa Karol
802dce749e Change syntax of compound exprs 2022-05-29 23:42:53 +02:00
Krzosa Karol
7de941899f Fix crashes 2022-05-28 17:48:52 +02:00
Krzosa Karol
8875b61970 Add typedefs in codegen, globals is working 2022-05-27 15:00:45 +02:00
Krzosa Karol
f4c05923c9 Compile string, working on scopes 2022-05-26 11:54:12 +02:00
Krzosa Karol
b945f3affd Lambdas, statements, typechecking lambdas 2022-05-25 14:44:30 +02:00