earl-grey
earl-grey copied to clipboard
Programming language compiling to JavaScript
The website linked under the description is: http://breuleux.github.io/earl-grey/ This in turn redirects to: http://www.earl-grey.io/ It gives a 404 error: > There isn't a GitHub Pages site here.
I am working on a project in its infancy that is attempting to bootstrap an entire pantheon of code from simple specifications, and I find the generator approach that you...
I like a lot of the features in Earl Grey, but one feature that I feel is lacking is proper support for ES6 modules. My intention is to write client-side...
`__dirname` and `__filename` refer to the compiled JavaScript file's location, rather than the original Earl Grey source. A pair of macros that expanded to the original source location would be...
If I run `earl compile -np -`, in my opinion it should read from STDIN and wait for CTRL+D to be input, rather than open a file called `-`. This...
Support a `finally` branch that runs after every possible branch. Perhaps not running after `else`? ``` var hidden = false var opacity = 0.0 nudge-opacity = match -> up? ->...
Take the following code: ``` global.install-win??.focus??() ``` An over-simplified version of the assignments/executions in JS might be: ``` javascript tmp$0 = global.installWin; tmp$1 = tmp$0.focus; tmp$1(); ``` This doesn't retain...
For example, this fails with `Illegal clause` error: ``` async manual-install = (match) -> "Nginx" -> await nginx-setup.manual-details() "Apache" -> await apache-setup.manual-details() ``` But the longhand works fine: ``` async...
I think this was discussed before in Gitter but I just wanted to make a note of this here so it wouldn't get lost. ``` fib = *-> var {a,...
doc strings
Support functions having a doc string immediately following their definition. e.g., ``` func = x -> """ This function adds a number to itself """ x + x func.doc-string() ;;...