+ 3
What's the difference between interpreter and compilerâ?
3 Answers
+ 4
an interpreter can translate only one line of code at a time but a compiler can translate a block of code at a time
+ 3
Interpreter --
Compile one by one line (statement)
of a program.
If any statement found wrong, It won't compile and execute any further lines until you correct it.
-
Compiler --
Compile whole statements of a program and execute it.
+ 1
interpreter will compile and runs the code
compiler just compiles the code
(process of converting programming language to machine code is called compilation)