Compile-to-JS Languages
Discussions center on programming languages that compile or transpile to JavaScript (e.g., TypeScript, ClojureScript, Elm) as alternatives to writing code directly in JS, including debates on their value versus learning JavaScript.
Activity Over Time
Top Contributors
Keywords
Sample Comments
There are many languages that compile to JavaScript (TypeScript, Dart, CoffeeScript, ...). You don't have to use JavaScript.
Another language that compiles to JS. Really? Just learn Javascript already.
Nothing about other languages transpiled/compiled to JavaScript? No Clojurescript, Elm or Purescript?
You aren't limited to Javascript, any compile to JS language can surely be used.
"and any application that can't be written in javascript will soon be compiled to javascript" -- me
Point was to compare compile-to-javascript languages.
JavaScript is so moldable, you could easily make a compiler that translates to JavaScript. You could even write a language and translate it in the browser, see CoffeeScript.
JavaScript is so moldable, you could easily make a compiler that translates to JavaScript. You could even write a language and translate it in the browser, see CoffeeScript.
Ah that's disappointing. i wonder if there is any work to create a JS compiler.
People already trying to do this. It does not accomplish the "replacing JS" goal :)