Urlang: JavaScript with Racket-like syntax
github.com
github.com
Also urlang is a bad pun. It sounds like Erlang (whom the programming language Erlang is named after), who grew up near where I live.
As an addition (which doesn't change the semantics) I allow the user to add their own favorite programming constructs - i.e. there are macros. And the macros are written using standard Racket macro tools.
Since Urlang has not been released on pkgs.racket-lang.org yet, clone the Github repo. And then use the Package Manager in DrRacket (or use raco) to install urlang as a package.
For a small demonstration on how to use Raphael.js (a graphics library) and dynamic insertion of DOM nodes see the "browser.rkt" example.
https://github.com/soegaard/urlang/blob/master/browser.html https://github.com/soegaard/urlang/blob/master/browser.rkt
Note: Open "browser.rkt" in DrRacket. Run the program. If "foo" is an urlang module, then the file "foo.js" will be generated.
I'd love to hear your feedback.