Re:Is Nim a Transpiler?
by Zababa on Wednesday October 20, 2021 @02:12PM
(#28933957)
Compilers and transpilers are the same. The term "optimizing compiler" exists, which probably mean that some are non-optimizing. TypeScript is a great example of that (although it does optimize a few things depending on the target).
Babel can be used as a macro system for JS, and macros are compilers.
Babel can be used as a macro system for JS, and macros are compilers.