3 ms·
It should support all of JavaScript. If you find a construct not supported, file a bug. Since Urlang has not been released on pkgs.racket-lang.org yet, clone t
by soegaard 11y ago
It should support all of JavaScript. If you find a construct not supported, file a bug.
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.html
https://github.com/soegaard/urlang/blob/master/browser.rkt 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.
- eggy 11y agoI'll try it this weekend for sure. Thanks!