-
-
Source Code (Human readable code) ===> Compiler ===> target code (machine runnable code) (lower level code language).
-
Compiler changes the code language level of "abstraction".
-
-
-
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.
-