6 ms·
> is it so bad to have another word for source-to-source compilation? If you compile C to Assembler then you compile from one code (C) to another code (Asm, or
by progman 9y ago
> is it so bad to have another word for source-to-source compilation?
If you compile C to Assembler then you compile from one code (C) to another code (Asm, or machine code which is the compact form of Asm). What's the difference to a "transpiler"?
Wikipedia states that the difference is just the (almost) equal level of abstraction. I would call such a thing a high-level source-to-source compiler. The word "transpiler" is uncertain and barely known, hence the people here who ask what a transpiler is.
Cross-compilation is another thing since it means compiling on one platform for another platform. In all three cases we deal with compilers from one regular language A into another regular language B.