Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 580 Bytes

Compiler vs Transpiler.md

File metadata and controls

15 lines (9 loc) · 580 Bytes

Compiler vs Transpiler

  • Compiler:

    • Source Code (Human readable code) ===> Compiler ===> target code (machine runnable code) (lower level code language).

    • Compiler changes the code language level of "abstraction".

  • Transpiler:

    • Source Code ===> Transpiler ===> target code (same level code lnguage).

    • Transpiler does NOT change code language level of "abstraction"

    • Avery good example: Transpilers ( like Babel) we use to convert ES6 code to ES5 code to run on older browsers that don't support ES6.