Commit Graph

23 Commits

Author SHA1 Message Date
c8d4b653da Fix bug with binop assignment typechecking 2026-04-13 21:24:34 +03:00
fa01b22b81 Add compilation of casts 2026-04-13 21:08:57 +03:00
dab4d47b8e Separate signed and unsigned comparisons correctly 2026-04-13 20:46:43 +03:00
810dd3595e Allow implicitly converting IntLiteralExpr to other int types 2026-04-13 20:15:48 +03:00
8646d5c0d0 Parse varargs 2026-04-11 22:18:02 +03:00
3f61e3749e Allow anonymous parameters 2026-04-11 22:11:52 +03:00
5dc6e8ca16 Modify printf to take a number additionally 2026-04-11 22:07:48 +03:00
bd76e8676f Add literal strings 2026-04-11 22:03:38 +03:00
ac7731446e Add pointer types 2026-04-11 21:45:54 +03:00
6855360a97 Add void and char types 2026-04-11 21:40:59 +03:00
7cf752f67b Add forward declarations 2026-04-11 21:34:44 +03:00
5abcd6e00a Make a bunch of tweaks, make fibonacci sequence compile 2026-04-10 19:55:34 +03:00
8dc0a6bf12 Parse function calls 2026-04-10 18:30:29 +03:00
97745ffbb0 Parse if-statements 2026-04-10 17:39:38 +03:00
f59b5db29b Parse and process function parameters 2026-04-10 17:25:01 +03:00
7d4190d9a1 Parse new binops 2026-04-10 17:13:14 +03:00
8e2bc3a7f7 Add addition binop 2026-04-09 17:52:11 +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
89db646873 Allow loading stack values 2026-04-09 16:02:34 +03:00
927ed01fac Add a bit better error raporting to failed parse 2026-04-09 15:09:47 +03:00
bdcd8838ee Fix parsing of functions 2026-04-02 17:21:20 +03:00
92e0bcd270 Add simple tokenization 2026-04-01 21:59:07 +03:00