5 ms·
For an interesting bit of prior art, check out Reactive.coffee — an MIT project that implements a reactive HTML DSL in CoffeeScript: http://yang.github.io/reac
by jashkenas 13y ago
For an interesting bit of prior art, check out Reactive.coffee — an MIT project that implements a reactive HTML DSL in CoffeeScript:
http://yang.github.io/reactive-coffee/ http://yang.github.io/reactive-coffee/
... note that it's not related to Facebook's React — just shares the name, and some similarities in surface area.
- smrtinsert 13y agoHave you considered adding a macro system to cs? I think it would eliminate the need for stuff like JSX which seems to get reinvented every so often.
- jashkenas 13y agoAbsolutely. There's a bunch of interesting work in that area: https://github.com/paiq/blackcoffee https://github.com/paiq/blackcoffee http://mrluc.github.io/macros.coffee/docs/macros.html http://mrluc.github.io/macros.coffee/docs/macros.html https://github.com/jashkenas/coffee-script/pull/3171 https://github.com/jashkenas/coffee-script/pull/3171
- smrtinsert 13y agoWow that's looking pretty nice already.