3 ms·
Twostroke is also capable enough to run the CoffeeScript compiler: http://github.com/charliesome/coffee-script-pure http://github.com/charliesome/coffee-script-
by haileys 15y ago
Twostroke is also capable enough to run the CoffeeScript compiler: http://github.com/charliesome/coffee-script-pure http://github.com/charliesome/coffee-script-pure
- sstephenson 15y agoVery cool! If you added a Twostroke adapter to ExecJS (https://github.com/sstephenson/execjs https://github.com/sstephenson/execjs), the ruby-coffee-script gem would work without modification.
- jewel 15y agoI've been thinking of making a pure-ruby javascript interpreter in order to embed it into ExecJS as a fallback for when nothing else is present. I believe this is only the case on Linux, but I've found that it gives my coworkers who are trying out rails for the first time quite a bit of confusion. (For that matter, it would help if execjs appended #readme in its error message instead of just to the github page, since the same coworkers were also unfamiliar with github, and didn't realize they had to look below the fold for the list of runtimes.)