add ast printer

This commit is contained in:
Sebastian Hugentobler 2025-05-27 09:22:29 +02:00
parent 8c500ab6a9
commit 6e02a1a644
Signed by: shu
SSH key fingerprint: SHA256:ppcx6MlixdNZd5EUM1nkHOKoyQYoJwzuQKXM6J/t66M
6 changed files with 314 additions and 1 deletions

7
lox/error.lox Normal file
View file

@ -0,0 +1,7 @@
var a = 1;
while (a < 10) {
a = a + 1;
}
print a;