4 ms·
The immediate question I had was: "compiles JS to what"? Apparently the answer is: to Javascript. It's what some call a transpiler: it compiles Javascript plus
by rntz 10y ago
The immediate question I had was: "compiles JS to what"?
Apparently the answer is: to Javascript. It's what some call a transpiler: it compiles Javascript plus some extra features down to a more "vanilla" Javascript (es5?). I tend to dislike the term transpiler (transpilers are just compilers that target high-level languages), but I guess in this case the term would have helped me understand what was meant!
- ThisIs_MyName 10y agoI prefer "source-to-source compiler": https://en.wikipedia.org/wiki/Source-to-source_compiler https://en.wikipedia.org/wiki/Source-to-source_compiler
- hasperdi 10y agoYeah, it was the same question I had in mind. The README.md does not do a good job of explaining it.