Compiler:
- It translates the whole program at once and give an errors list to be removed.
- Computer is not necessary for repeated execution of a program.
- Compiler is a complex program.
- Compiler analyses each statement, it uncovers certain types of errors referred to as diagnostic errors .
- A computed machine language programs runs much faster than an interpreted program .
Interpreter:
- In interpreter is a program that translates a high level programming language in to machine language during the actual step by step execution of program.
- In case of the interpreter when cover an instructions are used, it must once again be interpreted and translated into machines language.
- Interpreter are easy to write and they do not require large memory space in the computer.
- An interpreter provides a fast response to engages in the source program.
- The interpreter is a time consuming translation method.