Therefore it is necessary to process the High-level language into binary language so it is done by the language processors
This language processor converts the program written in assembly language into machine language
This language processor converts high-level language program into machine language(binary) by converting and executing line by line.
If there is any error in any line it reports at the same time and program execution can not resume until the error is rectified.
- For error debugging, an interpreter is useful as it reports the error at the same time.
- But once errors are removed usage of memory takes place as interpreter must always be present in memory
It also converts the High-level language into machine language(binary) but conversion method is different it converts in one go and reports all the error of program after conversion along with line numbers.
- After all, error is are removed, the program is recompiled and after that, the compiler is not needed in the memory as the object program is available
- Interpreter is much better for error removal than compiler