feat: regex for keywords, expect() to function as a parser

This commit is contained in:
2026-09-01 21:08:01 +05:30
parent 79a92f1d2d
commit 0370c48eee
3 changed files with 79 additions and 6 deletions
+3 -1
View File
@@ -1,5 +1,7 @@
use foo;
// comment
main() {
uint32 y = 1;
uint y = 1;
uint8 x = 0;
if x > 0 {
print("Hello World, x is zero");