This has been on my mind for a while now, and the topic has been touched on tangentially a few times. ChucK has managed to wiggle its way into my circle of favourite languages. Having written a lot of .ck over the past 8 weeks, I've often wondered wouldn't it be nice not to have to write
- the curly brackets
- parenthesis around if statements.
- slightly tedious for loop convention.
- ...semi colons.
I'm very tempted to write a language and parser that compiles a whitespace scoped language (not unlike python and coffeescript) directly into .ck. I'll probably keep it
- strongly typed and
- keep the chuck operator for signal flow,
- but perhaps go back to a single = symbol for assignment
- maybe reversing the direction of assignment from (a => b) to ( b = a )
I think the nicest example of what I mean is something along the lines of coffeescript, where on the left you have the shorter coffeescript, and it translates into the more verbose, but efficient form of, javascript.