working on generating an AST with scope and stuff

This commit is contained in:
SpookyDervish
2025-09-01 06:44:33 +10:00
parent 67fe809c57
commit eee9325ab8
6 changed files with 187 additions and 43 deletions

View File

@@ -1,4 +1,12 @@
set &x 0
@loop
add $x 1 &x
jump %loop
set &myName "Nathaniel"
set &myAge 10
fun -list !split -string &str -string &determiner
set &x 2
set &y 5
add $x $y &x
stdlnout $x
endfun
# should error
stdlnout $x