transpiler
Source-to-source compiler
A transpiler is a type of compiler that converts source code from one programming language to another at roughly the same level of abstraction—unlike compilers that typically transform high-level code into low-level machine code.
The term blends "translator" and "compiler." A common use is converting modern JavaScript into older versions for browser compatibility: The transpiler converts TypeScript to plain JavaScript.
Confusion of tongues
- TypeScriptTyped JavaScript superset
- source-to-sourceConverting between programming languages
- codeSymbolic communication system
- transformationThorough change in form
syntax · conversion · JavaScript · preprocessing · output · parsing · polyfill · bundler
Works on multiple systems
- compatibilityMutual suitability between things
- interoperabilityCross-platform functional harmony
- runtimeProgram execution duration
- backward-compatibleFunctions with prior versions
browser · Node.js · legacy · migration · ecosystem · environment · shim · fallback
Babel
Confusion of tongues
- TypeScriptTyped JavaScript superset
- source-to-sourceConverting between programming languages
- codeSymbolic communication system
transformation · syntax · conversion · JavaScript · preprocessing · output · parsing · polyfill · bundler · target
cross-platform
Works on multiple systems
- compatibilityMutual suitability between things
- interoperabilityCross-platform functional harmony
- runtimeProgram execution duration
backward-compatible · browser · Node.js · legacy · migration · ecosystem · environment · shim · fallback · downlevel
transpilerassembler
Converts assembly to executable
compiler · decompiler · linker