Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
AltJS - A list of compile-to-JavaScript languages (altjs.org)
40 points by toni on Nov 26, 2012 | hide | past | favorite | 18 comments


Although somewhat newer, TypeScript ( http://www.typescriptlang.org/) is not included.



A more recent addition - Funscript(F# to JS)

https://github.com/ZachBray/FunScript/


Also one of my personal favorites, Fay, is missing: http://fay-lang.org/


Wish 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-lang...


A common misapprehension, but it's actually "Jeremy Ashkenas". Sorry about the confusing handle.


I'm sorry JS master; but well, at least "Jash Kenas" sounds really cool.


They copied it a long time ago. The wiki has added many more compilers since then, including all the ones mentioned below.


I just wanted to say that "jash kenas" is solid gold and I hope he uses it as a gaming handle.


I think the original (https://github.com/jashkenas/coffee-script/wiki/List-of-lang...) is preferable to a static page, since it's in a wiki format.


Great! a half dozen new languages for backbone.js tutorials to be written in.


Do 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 ...


That's what Source Maps are for. Currently supported in a superset of {CoffeeScript, TypeScript and GWT}.


Sadly very few browsers support them.


Dart. 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.


Thanks! (and the other guys too, but Dart seems most like what I was looking for ...)


Many 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.


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.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: