language: implement let definitions

This commit is contained in:
2023-09-11 04:57:13 -04:00
parent 5d53381b82
commit 8f60039d6e
12 changed files with 95 additions and 8 deletions

View File

@ -1,7 +1,9 @@
let count = 5
export func main() {
var x = 1
while x <= 5 {
while x <= count {
println(x)
x = x + 1
x++
}
}