Commit Graph

15 Commits

Author SHA1 Message Date
d69e2c0929 Move binop to types 2026-04-10 16:58:27 +03:00
dcb6e60a3b Add virtual add for Type 2026-04-10 16:53:10 +03:00
ea9bb1fcb9 Move types to it's own file 2026-04-09 18:38:22 +03:00
8e2bc3a7f7 Add addition binop 2026-04-09 17:52:11 +03:00
43abaa4a46 Make expressions return StackValue 2026-04-09 17:44:22 +03:00
16833ad1a0 Add compiling of lvalues differently 2026-04-09 17:25:41 +03:00
a6939784f8 Codegen binops, kind-of 2026-04-09 17:17:57 +03:00
78816dff10 Parse binary operators 2026-04-09 17:14:58 +03:00
4d307d0eb9 Add expression statements 2026-04-09 16:31:47 +03:00
9969ad12f6 Use raw pointers for BBs 2026-04-09 16:05:04 +03:00
89db646873 Allow loading stack values 2026-04-09 16:02:34 +03:00
1070aa6ed0 Add scope 2026-04-09 15:53:01 +03:00
cf94296877 Codegen initial alloca and store 2026-04-09 15:37:51 +03:00
7aaa665058 Add InitializationStatement AST 2026-04-09 15:18:36 +03:00
c314ca4cb7 Compile test.c using LLVM 2026-04-02 17:20:07 +03:00