Commit Graph

22 Commits

Author SHA1 Message Date
Krzosa Karol
a324a5abf0 Compiling and running first program! 2022-06-03 23:15:16 +02:00
Krzosa Karol
25820a0c5b More work on types 2022-06-03 16:06:33 +02:00
Krzosa Karol
2909214ee0 Add floats 2022-06-02 22:52: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
ebb21df015 Before adding untyped types 2022-06-01 21:38:39 +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
631cfce534 Cleanup 2022-06-01 12:28:58 +02:00
Krzosa Karol
9b18c106b6 Basic variable reassignments 2022-06-01 12:13:02 +02:00
Krzosa Karol
20accf8293 Parsing for stmt 2022-05-31 16:45:20 +02:00
Krzosa Karol
41697dec80 Ast_Init is not Ast_Binary with TK_Comma 2022-05-31 16:24:04 +02:00
Krzosa Karol
7dfc4c7b36 Generating nested structs 2022-05-31 16:12:18 +02:00
Krzosa Karol
ef9c2f4ee5 Cleanup 2022-05-31 15:53:49 +02:00
Krzosa Karol
04d38511a9 Fix regression, constant variables now get properly rewritten 2022-05-31 14:01:18 +02:00
Krzosa Karol
627e2bad88 Initial enums working 2022-05-31 11:50:36 +02:00
Krzosa Karol
5e0aabb1cb Update todo 2022-05-30 18:55:15 +02:00
Krzosa Karol
a9b0318720 Wanky constant in structs sort of working but long way to go 2022-05-30 18:46:01 +02:00
Krzosa Karol
980a3b68b9 Struct field access. Damn, I coded for like 30 minutes and then it just worked on the first try 2022-05-30 18:27:06 +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
802dce749e Change syntax of compound exprs 2022-05-29 23:42:53 +02:00