4 ms·
Ok, that makes sense. How complete is it? Could I do all my front end work with it? I'll look at it more when I get home. Thanks, I always play around with Rack
by eggy 11y ago
Ok, that makes sense. How complete is it? Could I do all my front end work with it? I'll look at it more when I get home. Thanks, I always play around with Racket.
- soegaard 11y agoIt 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!