News for hackers. Stuff that matters.
Re:Show HN: A self-hosted js compiler in 1k loc by rntz on Friday February 10, 2017 @11:01AM (#13616258)
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!

Re:Show HN: A self-hosted js compiler in 1k loc by ThisIs_MyName on Friday February 10, 2017 @01:58PM (#13617899)
I prefer "source-to-source compiler": https://en.wikipedia.org/wiki/Source-to-source_compiler
Re:Show HN: A self-hosted js compiler in 1k loc by hasperdi on Friday February 10, 2017 @03:43PM (#13618727)
Yeah, it was the same question I had in mind. The README.md does not do a good job of explaining it.