Live data from Hacker News

AltJS - A list of compile-to-JavaScript languages

altjs.org

11–19 of 19 posts

Re: AltJS - A list of compile-to-JavaScript languages

#11
post #2

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

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

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

Re: AltJS - A list of compile-to-JavaScript languages

#14
post #5

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

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.

Re: AltJS - A list of compile-to-JavaScript languages

#15
post #2

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

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

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

Re: AltJS - A list of compile-to-JavaScript languages

#16
post #2

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

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.

Re: AltJS - A list of compile-to-JavaScript languages

#17

Earlier quoted context omitted.

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.

Re: AltJS - A list of compile-to-JavaScript languages

#18
post #5

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

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.

Re: AltJS - A list of compile-to-JavaScript languages

#19
post #10
post #5

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

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 ...)
Post reply on HN