20 Commits

Author SHA1 Message Date
508b3fdc7a added functions till typechecker WIP 2025-02-27 11:15:17 +01:00
b0b7ede252 fixed if expressions 2025-02-26 15:18:56 +01:00
1b2ebd2361 a lot of stuff 2025-02-23 19:09:03 +01:00
5664794c2f variable support in parser and ast fully implemented 2025-02-21 15:09:31 +01:00
1d70a700c9 begin variables 2025-02-02 21:31:56 +01:00
0692729b40 tested with the test.tt file 2025-02-02 15:24:34 +01:00
90bb478537 fix unit return for if expression 2025-02-02 14:55:13 +01:00
9e6e3bd1e4 if expressions 2025-02-02 14:15:16 +01:00
f98d0b8d18 fix some qbe stuff 2025-01-31 22:09:55 +01:00
5905a198b3 full qbe support i belive 2025-01-31 21:22:57 +01:00
bc554cdedf added new equality operators 2025-01-27 10:08:23 +01:00
9ac98c344f begin block expression and added grouped expression 2025-01-26 20:01:38 +01:00
6504ad7134 fix: typechecker error handling
- rename Architecture.md -> architecture.md
- change error handling in typechecker to print the token loc for binary
expressions and also not prefix the error when printed in cmd
2025-01-26 14:25:34 +01:00
1dae344e09 added some tests 2025-01-25 22:02:02 +01:00
cefa2698c6 split up checker and inferer and added booleans 2025-01-25 18:15:02 +01:00
9fe5f322a1 fixed equal and not equal 2025-01-23 22:24:00 +01:00
d998ecfc42 better representation of ast and tast 2025-01-23 09:10:29 +01:00
1e68083aad begin binary expressions 2025-01-22 18:21:30 +01:00
6513c45936 compiler compile 2025-01-22 09:00:49 +01:00
6f9d64b2bf Initial Commit 2025-01-19 21:45:07 +01:00