Interpreter
Interpreter
Strategies of an Interpreter
4. Self Interpreters
Operating System
Compiler
Assembler
It generates an intermediate object It does not generate any intermediate object code.
3.
code. Therefore, more memory is used. Hence it is memory efficient.
The whole program is compiled and
It stops the compilation if any error occurs. Hence,
4. then it shows all the errors together.
debugging is easier.
Therefore, debugging is difficult.
Impure interpreter
Converts the source program into an intermediate
representation
Eliminates most analysis during interpretation
Speeds up interpretation by reducing analysis
overhead
Requires re-preprocessing after any modifications