Commit Graph

29 Commits

Author SHA1 Message Date
Krzosa Karol
e2d07923c8 Add parent_scope on all nodes 2022-06-10 16:12:47 +02:00
Krzosa Karol
89b3e00ae4 Closer to old state 2022-06-10 14:08:27 +02:00
Krzosa Karol
d5d9911f3e More work on packages 2022-06-10 11:05:08 +02:00
Krzosa Karol
fbe911d267 Complete rework, adding packages 2022-06-09 21:30:52 +02:00
Krzosa Karol
1a67fe3402 Require boolean in for, if 2022-06-07 13:50:16 +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
02b6a1c85b RValue, LValue concept working, Assigning to numbers is now illegal! 2022-06-01 13:28:38 +02:00
Krzosa Karol
0360086bab Restructure 2022-05-31 18:29:35 +02:00
Krzosa Karol
5e0aabb1cb Update todo 2022-05-30 18:55:15 +02:00
Krzosa Karol
0e0b95ab52 Constants in structs 2022-05-30 13:44:10 +02:00
Krzosa Karol
3a97e739a8 More work on calls and compound statements 2022-05-30 13:22:57 +02:00
Krzosa Karol
b2d3e9d8e1 Fix invalid pointer in struct type, more work on calls 2022-05-30 11:20:00 +02:00
Krzosa Karol
671853287a Fix bug with indexing function call 2022-05-30 11:10:27 +02:00
Krzosa Karol
9e24a608cb Rewriting function calls to have named parameters, default values 2022-05-30 11:00:30 +02:00
Krzosa Karol
c305d4da44 Calling functions is working, same syntax as compound stmts 2022-05-30 09:04:34 +02:00
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
0e398c84b6 Cleanup, There is no decl anymore, Ast_Named 2022-05-26 20:21:24 +02:00
Krzosa Karol
ec773c08be Add init statement to if 2022-05-26 18:57:15 +02:00
Krzosa Karol
3d9a38494c Add if statements 2022-05-26 18:13:37 +02:00
Krzosa Karol
3cd79040bc Fix compile errors when compiling for msvc 2022-05-26 16:55:07 +02:00
Krzosa Karol
c88b38cc44 Successful compile with new parser! 2022-05-26 14:49:50 +02:00
Krzosa Karol
d9a80afa9e Working on the lexer, handling indentation and scopes 2022-05-26 14:24:11 +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