aboutsummaryrefslogtreecommitdiff
path: root/examples/functions.cup
diff options
context:
space:
mode:
authorMustafa Quraish <[email protected]>2022-01-29 18:29:45 -0500
committerMustafa Quraish <[email protected]>2022-01-29 18:29:45 -0500
commit81250ad76bbd336a262da71f4f71d6a37b68bd74 (patch)
treeb4f94acfa2f46e0e87e49aca97ba72a76b459a23 /examples/functions.cup
parentImplement blocks (lexically scoped) and conditionals (diff)
downloadcup-81250ad76bbd336a262da71f4f71d6a37b68bd74.tar.xz
cup-81250ad76bbd336a262da71f4f71d6a37b68bd74.zip
Add for and while loop support (w/o declarations in `for`)
We can now loop and do stuff, yay! However, we don't yet allow declarations inside the for-loop initializer, since that is a bit more annoying to implement.
Diffstat (limited to 'examples/functions.cup')
0 files changed, 0 insertions, 0 deletions