language: implement let definitions

This commit is contained in:
alex committed 2023-09-11 04:57:13 -04:00
1 parent 5d53381b82
commit 8f60039d6e
12 files changed
+95 -8

No files matched your search

+4 -2
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++
}
}