So you do know the difference.
In my book, transpilers are compilers that consume a programming language and target human-readable code, to be consumed by another compiler or interpreter (either by itself, or to be integrated in other projects).
i.e. the TypeScript compiler is a transpiler from TS to JS, the Nim compiler is a transpiler from Nim to C, and so on.
I guess if you really want to be pedantic, one can argue (with the above definition) that `clang -S` might be seen as a transpiler from C to ASM, but at that point, do words mean anything to you?
Rochus•6d ago
nrinaudo•1h ago
I think this is a pretty acceptable definition, and yes, it does make the term transpiler a little useless.
gmac•1m ago
I think this is how the word is commonly understood, and it’s not useless (even if there’s no absolute standard of when it does or does not apply).