Compiler :
- Compiler converts a program into machine code as a whole.
- Compiler creates object code file.
- Program execution is fast.
- Compiler displays syntax errors after compiling the whole program.
Interpreter :
- Interpreter converts a program into machine code statement by statement.
- Interpreter does not create object code file.
- Program execution is slow.
- Interpreter displays the syntax error on each statement of program.
No comments:
Post a Comment