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.

compilation

Babel

Confusion of tongues

transformation · syntax · conversion · JavaScript · preprocessing · output · parsing · polyfill · bundler · target

portability

cross-platform

Works on multiple systems

backward-compatible · browser · Node.js · legacy · migration · ecosystem · environment · shim · fallback · downlevel

Opposites
execution model

transpilerinterpreter

One who conveys meaning between languages

abstraction level change

transpilerassembler

Converts assembly to executable

compiler · decompiler · linker

Family

transpilation

Familiarity
Top 1,000,000
Profile
Used worldwide · Timeless · Rated G