language: implement for in

This commit is contained in:
2023-09-11 05:34:09 -04:00
parent 9ba150bb69
commit 0aab45094a
12 changed files with 105 additions and 0 deletions

7
examples/for.pork Normal file
View File

@ -0,0 +1,7 @@
let items = ["Hello", "Goodbye"]
export func main() {
for item in items {
println(item)
}
}