3 ms·
Compiling is independent of source and target language, although it is mostly used to describe transformation from a higher-level human friendly language into a
by maggit 9y ago
Compiling is independent of source and target language, although it is mostly used to describe transformation from a higher-level human friendly language into a lower-level machine friendly language. Even so, the defined meaning of compiling is independent of the source and target languages. If you want to use the word "transpiling", you would have to define it in terms of compiling; transpiling is a special case of compiling, where the source and target languages have such and such properties.
- foota 9y agoIt's really just semantics, but Merriam Webster defines a compiler as "A computer program that translates an entire set of instructions written in a higher-level symbolic language (such as C) into machine language before the instructions can be executed"
- maggit 9y agoA dictionary really isn't a great source for the exact definitions of technical words. Wikipedia does much better in this instance: https://en.wikipedia.org/wiki/Compiler https://en.wikipedia.org/wiki/Compiler > A compiler is computer software that transforms computer code written in one programming language (the source language) into another programming language (the target language). Later on it lists some classes of compilers that could be called by more specific names than just "compiler".