Live data from Hacker News

AltJS - A list of compile-to-JavaScript languages

altjs.org

1–10 of 19 posts

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

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

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

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

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

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

Sadly very few browsers support them.

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

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

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

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