Hacker News new | ask | show | jobs
by timothya 3854 days ago
The Closure Compiler supports compiling ES6 code already, and can also do transpilation down to ES3/ES5. [1][2]

Google also has the Traceur Compiler which does transpilation of new JS features (ES6, ES7 proposals, and a couple of features that aren't in either) into older versions. [3]

[1]: https://github.com/google/closure-compiler/wiki/Releases#oct...

[2]: https://github.com/google/closure-compiler/wiki/ECMAScript6#... (might be a bit out of date, since there have been releases since that document was last edited)

[3]: https://github.com/google/traceur-compiler

1 comments

Holy crap, I wasn't paying attention and missed that annoucement... awesome! Thanks, I have no excuse not to try it now.

Poking around, Traceur looks like something to play with and get acquainted, but not for production code just yet?