Hacker News new | past | comments | ask | show | jobs | submit login
Js2coffee: convert JavaScript code to CoffeeScript (js2coffee.org)
5 points by raju on Aug 18, 2011 | hide | past | favorite | 4 comments



This has been around for a while. It's still not 100% reliable (for instance, it simply converts the JavaScript `a == b` to the CoffeeScript `a == b`, which is equivalent to JavaScript's `a === b`), but it's astonishingly good in many cases. Very useful as a tool for learning CoffeeScript.


I think the title should be modified to show that it also handles CoffeeScript to Javascript which for me makes it an even more powerful utility.


Doesn't CoffeeScript itself also do that?


While true I do like the convenience that I could potentially write CoffeScript on a machine that doesn't have it installed and still get the compiled Javascript.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: