Basic Differences Between Compiler and Interpreter

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Basic differences between Compiler and Interpreter:

Compiler translates the high level instruction into machine language, but the interpreter translates the

high level instruction into an intermediate code.

The compiler executes the entire program at a time, but the interpreter executes each and every line

individually.

33

Compiler reports the list of errors that are caused during the process of execution, but the interpreter
quits

translating soon after finding an error, the progression of the other lines of the program will be done
after

refining the error.

Autonomous executable file is generated by the compiler while interpreter is compulsory for an

interpreter program.

You might also like