Transpiled

Print Friendly, PDF & Email

Transpiled languages are languages that are compiled into another language, and run or are further compiled as that language.

Most transpiled languages today are scripting languages, but transpiling is not new and has been used for many decades to compile languages to C to compile.

Why Transpile?

Transpiling is often used or a combination of these reasons:

  • Easy – Allows faster easier development of a language as the creator does not need to mess with complex file formats and assembly language.
  • Cross Platform – If target language is cross platform, then so becomes the transpiled language. This was often the prime reason behind languages that transpiled to C.
  • Language Extension – Transpiling can target a specific language in order to extend it with new features. An example of this is TypeScript which compiles to JavaScript and acts as a super set of JavaScript. A JavaScript++ of sorts.