boltlang / Bolt

A programming language for rapid application development
35 stars 1 forks source link

Support a shorthand syntax for match-expressions and other block-based syntax #50

Open samvv opened 1 year ago

samvv commented 1 year ago

We'd like to do something like (pseudo-syntax):

let x = match y. True => 1; False => 0
let i = 0; i += 1; print i

After a first look it appears that LineFoldEnd and ; might be made interchangeable, with some tweaks here and there.