Interpreter
Translates one statement of a program at a time.
The time it takes to interpret source code is very less.
Interpreter program works line by line.
Error is reported as soon as first error is encountered
Example of languages that makes use of interpreter Ruby,Python,php,pearl,MATLAB
compiler
It Scans the complete program and translates it into machine code.
It takes huge amount of time to analyse source code
Errors are reported after checking the complete program
Compiled program does not need to be complied every time
Example of languages that makes use of interpreter C,C++,COBOL
0 Comment(s)