sophiajt / new-nu-parser

23 stars 10 forks source link

Add `loop`, `break` and `continue` #12

Closed kubouch closed 10 months ago

kubouch commented 10 months ago

Add loop, break and continue statements.

Also fixes for to accept declarations without dollar sign, e.g., for i in 0..10 { ... }.

sophiajt commented 10 months ago

@sholderbach @kubouch - y'all should run the tests ;)

Seems we have a few broken ones related to the new keywords. Easy to fix but maybe we should have some simple CI on this repo.

kubouch commented 10 months ago

I ran the tests but forgot to update the snaps, dang it.