The Compiler and interpreter both serves for the same purpose, but still it had some differences to be noted, i am giving those differences
The main differences are given below
Compiler
1) The compiler work is to convert the given High Level Instruction to an Machine Level Language.
2) The Whole Program should be Executed by the Compiler before the Execution of the Program.
3) The Errors are listed only after the Compilation Process by the Compiler
4) The Execution of Program is Fast
Interpreter
1) The interpreter work is to convert the given High Level instruction to an Intemediate form
2) The Program is Executed by the Interpreter only after Translating the First line in the Instructions.
3) The Interpreter will stop the Translation process after the First Error
4) The Execution of Program is Relatively Slow
The main differences are given below
Compiler
1) The compiler work is to convert the given High Level Instruction to an Machine Level Language.
2) The Whole Program should be Executed by the Compiler before the Execution of the Program.
3) The Errors are listed only after the Compilation Process by the Compiler
4) The Execution of Program is Fast
Interpreter
1) The interpreter work is to convert the given High Level instruction to an Intemediate form
2) The Program is Executed by the Interpreter only after Translating the First line in the Instructions.
3) The Interpreter will stop the Translation process after the First Error
4) The Execution of Program is Relatively Slow