Transpiler

Noun · Development

Definitions

  1. A source-to-source compiler that translates code from one programming language (or language version) to another at a similar level of abstraction. Babel transpiling modern JavaScript to older JavaScript is the canonical example.

    In plain English: A tool that converts code from one programming language to another — like translating French to Spanish rather than French to machine beeps.

Etymology

1970s
Source-to-source compilers exist but lack a catchy name; they translate between programming languages at the same abstraction level
2009
CoffeeScript popularizes the term 'transpiler' (transcompiler) by compiling to JavaScript, inspiring a wave of compile-to-JS languages
2014
Babel (originally 6to5) becomes the essential JavaScript transpiler, letting developers use future syntax in current browsers

Related Terms