Hacker News new | ask | show | jobs
by aeonik 571 days ago
I would call this a transpiler, and it's definitely a kind of compiler. I typically use the word compiler to imply that I'm moving to a lower level representation, and a transpiler as one that does a horizonal translation.

There are expections to this general rule of thumb, Cross-compiling is a term used for a horizonal translation.

I also watched this video of a PhD project that compiles JavaScript from an input of Visual data and JavaScript. Which is probably one of the more interesting uses of compiler I've seen.

https://youtu.be/MQnVmEw6ISQ?si=NYCSuzi3IxG0md_k