INTERPRETERA PROGRAM WHICH TRANSLATES AND EXECUTES EACH SOURCE STAT...

2. Interpreter

A program which translates and executes each source statement in logical sequence as the

program one instruction at a time, completely translating and executing each instruction before it

goes onto the next

- Interpreter, which deals with the source program one instruction at a time,

completely translating and executing each instruction before it goes onto the next

- Interpreter seldom produce object code but call upon inbuilt routines instead

- Some intermediate code is usually produced tempororily

- If an interpreter is used, the source program will be translated every time the

program is executed

- Interpreters are widely used, particular for the programming language Basic on

small computers

• Interpriter are used for such things as:

- Handling user commands in an interactive sys

- Debugging programs as they run

- Handling software produced for or by a different computer