ES transpilers

# Claus Reinke (13 years ago)

With ES6 engine compatibility still looking somewhat red

kangax.github.com/es5-compat-table/es6

transpilers are not just a useful way of communicating ES6 development (avoiding surprised audiences later [*]), they also provide relief for those who keep reading here about new features that they dearly would like to use.

On top of that, the TypeScript discussion feeds give an early idea of how JS coders out there are going to react to ES6 features, as well as the kind of tweaking that might be needed to tune features to practice (or developer expectations to the realities of features as spec-ed).

I've just updated the "Language extensions" category in the js-tools mailing list resources

clausreinke.github.com/js-tools/resources.html#group:language-extensions

This typically lists transpilers from ES.future to ES.now, including experimental, under discussion, and agreed on features. I've also included Mozilla's new macros project, but won't include general X2JS compilers (there is a separate list for those).

If there are any missing (or outdated) entries, could you please let me know? Not everyone knows all the projects you may know about, and it would be good to have them listed in one place.

Thanks, Claus clausreinke.github.com

[*] www.goodreads.com/quotes/379100

# Ariya Hidayat (13 years ago)

matthewrobb/six from Matthew Robb is another ES6 to ES5 transpiler.

# Alex Russell (13 years ago)

It would be helpful if that page listed licenses and minimum es target versions (es5? es3?)

# Claus Reinke (13 years ago)

It would be helpful if that page listed licenses and minimum es target versions (es5? es3?)

Yes, I was thinking of flagging at least commercial vs free tools at some point (*). If I receive concrete information about target ES versions for transpilers, I will add that, too (though that kind of detail tends to go stale quickly). Either email me, or open a github issue, with any updates to the information on that page.

The whole page depends on what information implementers or users provide. The more implementers can be convinced to join at least one of es-discuss or js-tools and talk about their work, the more information we'll have;-)

Claus

(*) I am always surprised to see attempts with commercial tools for developers (as opposed to commercial support/service for free tools, or commercial tools for non-developers).

# Axel Rauschmayer (13 years ago)

Given that transpilation is the migration part towards ES6 (at least initially), it might make sense to introduce “compiles (some of) ES6 to ES5 or earlier” as an extra category.