Commit Graph

27 Commits

Author SHA1 Message Date
fa01b22b81 Add compilation of casts 2026-04-13 21:08:57 +03:00
8314fe2b61 Use binops for codegen as well 2026-04-13 18:24:07 +03:00
1037024730 Add binops for typechecker 2026-04-13 18:18:25 +03:00
5ed26f4139 Perform typechecking 2026-04-13 01:22:14 +03:00
5706a81098 Separate errors to own header-file 2026-04-13 00:24:18 +03:00
866d78e6d1 Compile vararg 2026-04-11 23:18:13 +03:00
07c0059c5c Remove unused forward-declaration 2026-04-11 19:18:46 +03:00
44f9438839 Add new comments 2026-04-11 19:17:47 +03:00
1aed5c93f1 Add comments 2026-04-11 19:15:21 +03:00
d5a28b1580 Link everything in main.cpp 2026-04-11 19:14:13 +03:00
25343e0856 Produce LLVM IR and object file 2026-04-11 18:40:35 +03:00
344b7588d8 Make slightly better error raporting at codegen 2026-04-11 00:09:26 +03:00
d902569f7b Add metadata to tokens 2026-04-10 23:40:59 +03:00
07b691ba7a Fix all warnings 2026-04-10 21:45:05 +03:00
66f9dac5a6 Codegen if-statements 2026-04-10 18:09:55 +03:00
1070aa6ed0 Add scope 2026-04-09 15:53:01 +03:00
927ed01fac Add a bit better error raporting to failed parse 2026-04-09 15:09:47 +03:00
df8ca04274 Remove unneeded LLVM Hello World 2026-04-02 17:24:15 +03:00
c314ca4cb7 Compile test.c using LLVM 2026-04-02 17:20:07 +03:00
ab406df610 Fix passing around results 2026-04-02 16:09:42 +03:00
8520404fb1 Parse function somewhat correctly 2026-04-02 15:36:48 +03:00
31c697a097 Use unique_ptrs everywhere again 2026-04-02 01:41:39 +03:00
04a6ec1ded Start adding AST and Result 2026-04-02 00:31:19 +03:00
e5f7430586 Add TokenStream 2026-04-01 22:42:27 +03:00
ad04da8218 Move tokens to it's own file 2026-04-01 22:13:23 +03:00
92e0bcd270 Add simple tokenization 2026-04-01 21:59:07 +03:00
721f996413 Implement a simple Hello World with LLVM 2026-04-01 20:46:38 +03:00