I assume other language users and authors suffer the same kind of comments on a regular basis.
And that the cognitive dissonance to say:
> ...is not a compiler, it's a transpiler, since it compiles to...
is alive and well.
Mea culpa.
Which is also still a compiler.
Likewise, there are compilers I wouldn't call transpilers.
And what verb do you use with a transpiler? It compiles one form into another.
A transpiler is a source-to-source compiler. What you do with the output afterwards hardly matters, when it is performing the act of compilation.
There is no distinction here. One is merely a subset of the other. Which is good for communicating purpose, but you can't just assume one is seperate from the other when they employ the same process.
A compiler may not compile to a source language, though it might.
A transpiler is a compiler that compiles to a source language.
Citation needed that either of these terms actually existed before 2013.
https://books.google.com/ngrams/graph?content=compiler%2Ctra...
https://trends.google.com/trends/explore?date=all&q=transpil...
https://trends.google.com/trends/explore?date=all&q=transcom...
Your own sources have references in '03, which contradicts that.
But I'll oblige.
Sitting on my shelf is
"XLT86 - 8080 to 8086 Assembly Language Translator, User Guide", dated 1982. (But not the version you can find online, which is September, '81. I'm not quite sure on the release, as the user guides didn't include a revision number).
Here's a quote:
> XLT86·is a Digital Research software product that aids in the translation of 8080 assembly language programs to equivalent 8086 programs.
...
> Unlike other 8086 trans-compilers, XLT86...
> The XLT86 trans-compiler is available for operation under CP/M and MP/M for the 8080, 8085, and Z80...
So, I would say Digital Research coined the term in '81, but their usage suggests that others in that circle would occasionally use the term, or have a passing familiarity with such a term.
Brevity isn't everything. But more importantly, "transpiler" (like "source-to-source compiler") does not say what you are compiling from, and what you are compiling to. In order for the term "transpiler" to be useful, you need to specify those things. Anything you think you imply by using the term is not, in fact, implied.
If you compare the lengths of "JavaScript to Pascal compiler" and "JavaScript to Pascal transpiler", you might be in for a surprise!
It eliminates bytecode compilers and native compilers from the conversation immediately.
> It's not a native compiler, it's a transpiler
If this was said, you wouldn't then ask if it compiled for a VM, or if it could directly produce small binaries.
I wouldn't say the term is completely redundant. Only when you introduce it for the first time.
E.g.
> That's not possible. It's a transpiler. Back to the topic at hand...
I'd be surprised if anyone did.
The use of transpiler is more about audience expectation, a specificity.
It's shorter than writing "source-to-source compiler", and acknowledges compiler as its superset, right there in its name