What was the inspiration to create yet another compile to JS language?
The Earl Grey programming language
31–40 of 137 posts
Re: The Earl Grey programming language
#32"Oh god, do we need another language that compiles to javascript?!" —Everyone, probably
JS is the new JVM. Write once, run anywhere is still the dream, I'm glad new programming languages are taking advantage of JavaScript's versatility.
More like "write once, run in the browser". I don't think most compile-to-js languages care too much about "anywhere", they are just trying to get nicer alternatives in what is basically a platform (the browser) closed to anything except JS.
Re: The Earl Grey programming language
#33Earlier quoted context omitted.
JS is the new JVM. Write once, run anywhere is still the dream, I'm glad new programming languages are taking advantage of JavaScript's versatility.
> Write once, run anywhere is still the dream More like "write once, run in the browser". I don't think most compile-to-js languages care too much about "anywhere", they are just trying to get nicer alternatives in what is basically a platform (the browser) closed to anything except JS.
Re: The Earl Grey programming language
#34Earlier quoted context omitted.
I think a lot of lisps use hyphens in variable names
There's plenty of precedent. It's just rare for a reason. I'm not sure allowing slightly easier access to CSS syntax justifies it.
And not even because of CSS, just because I think "do-thing" looks better than both "doThing" and "do_thing". Of course, I would think differently if I tended to write "a-b" instead of "a - b", but at the moment I quite enjoy this feature.
Re: The Earl Grey programming language
#35Re: The Earl Grey programming language
#36Re: The Earl Grey programming language
#37Does 'each' serve as both forEach and map? It appears that way from the fib example.
Re: The Earl Grey programming language
#38"Oh god, do we need another language that compiles to javascript?!" —Everyone, probably
I think this looks like a great project, we can never have too many programming languages to play around with.