ta0kira / zeolite

Zeolite is a statically-typed, general-purpose programming language.
Apache License 2.0
18 stars 0 forks source link

Update syntax to allow multiple breaks at once, e.g., `break 2`. #4

Closed ta0kira closed 4 years ago

ta0kira commented 4 years ago

(Same comment added to #5 .)

This seems too special-purpose; why not allow things like break continue break also? That's just as likely a use-case.

This also puts implementation details of the outer loop's iteration decisions inside of the inner loop, making the inner loop less of a subroutine and more of a nested counting process.