Re:Shift.js: Swift to JavaScript Transpiler
by dchurchill on Friday November 06, 2015 @07:18PM
(#10522934)
We decided to stick with ES5, since there are still many browser compatibility issues with ES6.
Re:Shift.js: Swift to JavaScript Transpiler
by theodorton on Friday November 06, 2015 @07:21PM
(#10522947)
Why not transpile down to ES6/2015 and rely on Babel for transpilation to ES5?
Re:Shift.js: Swift to JavaScript Transpiler
by rlander on Friday November 06, 2015 @07:58PM
(#10523065)
You're asking why he doesn't want to add yet another compilation step? Isn't that obvious?
swift -> es6 -> es5
Re:Shift.js: Swift to JavaScript Transpiler
by jbigelow76 on Friday November 06, 2015 @09:40PM
(#10523418)
If you need code written in Language X but insist on using Language Y "yet another step" probably isn't the deal breaker you imagine it to be.
Re:Shift.js: Swift to JavaScript Transpiler
by tomelders on Thursday November 12, 2015 @08:20AM
(#10552923)
I don't see why you'd need that intermediary step. Babel transpiles to ES5. I imagine this in an alternative to Babel, not a companion.
Is it swift to ES5, 6 or 7?
Update: looks like ES5.