On Wed, Mar 16, 2016 at 5:56 AM, Daniel Prager <daniel.a.pra...@gmail.com> wrote:
> Awesomely, Jens has been working on Urlang: a Racket-ish syntax for > JavaScript, using the nanopass compiler infrastructure: > > https://github.com/soegaard/urlang > > and more ambitiously, a Racket (subset) ->JavaScript compiler (rjs), > taking a distinct approach from Whalesong. > > * * * > > Just using plain Urlang together with sxml, Bootstrap (for css), and > notably Ractive.js <http://ractive.js> for templating and data-binding I > made the following demo / proof-of-concept: > > > http://htmlpreview.github.io/?https://github.com/danprager/urlang/blob/master/urlang-examples/ractive/ractive-bootstrap-example.html > > Note: no heavyweight js runtime required: actually no runtime at all. > > > Racket source: > https://github.com/danprager/urlang/blob/master/urlang-examples/ractive/ractive-bootstrap-example.rkt > > HTML output (including embedded JavaScript): > https://github.com/danprager/urlang/blob/master/urlang-examples/ractive/ractive-bootstrap-example.html > > The abstractions are a bit leaky, but I'm quietly excited about where this > sort of approach could lead. > > What do you think? > Very neat! I had to make some changes to it before I could see it. This is mostly around "mixed-content" due to mixing HTTPS with HTTP for assets. Otherwise, all this is *very* promising. -- http://www.apgwoz.com -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.