Pure Interpreter Pure Interpreter Pure Interpreter
Pure Interpreter Pure Interpreter Pure Interpreter
IMPURE INTERPRETER
Perform some preliminary processing of the source program to reduce the analysis overhead during
interpretation.
– Pre-processor converts program to an IR which is used during interpretation.
– IC can be analysed more efficiently then source program.
– Thus, speed up interpretation.
– Dis-advantage: Use of IR implies that entire program has to be pre-processed after any modifications.
– Thus, incurs fixed overhead at the start of interpretation.
– Conclusion Statement: Thus, eliminates most of the analysis during interpretation.