feat: enhance compiler

- Add comments and test for it
- Add semicolon as required end of some expressions
- Add new arguments parser
- Add multi-file compilation
- Add colors in output
This commit is contained in:
samsonium
2026-10-15 17:20:43 +03:00
parent 1035b9193c
commit 69b2253c34
22 changed files with 739 additions and 327 deletions
+9 -9
View File
@@ -1,13 +1,13 @@
uint work_it = 21 * 2 ^ 2
int make_it = 10
uint work_it = 21 * 2 ^ 2;
int make_it = 10;
u64 do_it
do_it = 15
u64 do_it;
do_it = 15;
printline(work_it)
printline(make_it + do_it)
printline(work_it);
printline(make_it + do_it);
char make_us
str floyd = "hello, Pink Floyd!"
printline(floyd)
char make_us;
str floyd = "hello, Pink Floyd!";
printline(floyd);