7 ms·
AltJS - A list of compile-to-JavaScript languages
- johanx 14y agoAlthough somewhat newer, TypeScript ( http://www.typescriptlang.org/ http://www.typescriptlang.org/) is not included.
- balakk 14y agoA more recent addition - Funscript(F# to JS) https://github.com/ZachBray/FunScript/ https://github.com/ZachBray/FunScript/
- ch0wn 14y agoAlso one of my personal favorites, Fay, is missing: http://fay-lang.org/ http://fay-lang.org/
- iso-8859-1 14y agoAlso missing http://www.saltarelle-compiler.com/ http://www.saltarelle-compiler.com/
- jQueryIsAwesome 14y agoWish is weird, because they copy pasted from the list of Jash Kenas where it is included: https://github.com/jashkenas/coffee-script/wiki/List-of-languages-that-compile-to-JS https://github.com/jashkenas/coffee-script/wiki/List-of-lang...
- edtechdev 14y agoThey copied it a long time ago. The wiki has added many more compilers since then, including all the ones mentioned below.
- steele 14y agoI just wanted to say that "jash kenas" is solid gold and I hope he uses it as a gaming handle.
- jashkenas 14y agoA common misapprehension, but it's actually "Jeremy Ashkenas". Sorry about the confusing handle.
- jQueryIsAwesome 14y agoI'm sorry JS master; but well, at least "Jash Kenas" sounds really cool.
- nickzoic 14y agoDo any of these languages solve the debugging problem? I'd love to write my client-side code in something other than JS, but I'd still be debugging it in JS, and I have trouble believing that's going to help ...
- iso-8859-1 14y agoThat's what Source Maps are for. Currently supported in a superset of {CoffeeScript, TypeScript and GWT}.
- pjmlp 14y agoSadly very few browsers support them.
- detst 14y agoDart. You debug in Dart and it's (generally) considered a bug if the generated JS deviates in behavior. The JS is rather readable, if needed. It also runs server-side.
- nickzoic 14y agoThanks! (and the other guys too, but Dart seems most like what I was looking for ...)
- kevingadd 14y agoMany of the compilers generate relatively human-readable output JS, so if you know JS, you can debug the output. This is still true for JSIL (albeit less than before... sigh) and is obviously true for languages like TypeScript where the mapping is direct.
- 1bo1bo1 14y agoGo2js (https://github.com/kless/go2js https://github.com/kless/go2js). Translator from Go which was designed to translate line-to-line, but you should debug on Go since it's much easier.
- ehutch79 14y agoGreat! a half dozen new languages for backbone.js tutorials to be written in.
- jrajav 14y agoI think the original (https://github.com/jashkenas/coffee-script/wiki/List-of-languages-that-compile-to-JS https://github.com/jashkenas/coffee-script/wiki/List-of-lang...) is preferable to a static page, since it's in a wiki format.