On Wednesday, March 16, 2016 at 1:57:30 PM UTC+1, Daniel Prager 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 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?
> 
> 
> Dan

This looks great. Would it be possible to extend this to React Native [1], so 
we can write mobile apps in Racket?

[1] https://facebook.github.io/react-native/

Armon

-- 
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.

Reply via email to