Posted on Mar 23, 2022
By Mayur shukla
Published in Education
As programmers prefer to write their programs in one of the high level languages because it is much easier to code in such languages. However, the computer does not understand any language other than it's own machine language ( binary language) therefore, it becomes necessary to process a HLL program so as to make it understandable to the computer. The system program which perform this very job are language processors.
The language processors are given below:-
Assembler:- This language processors converts the program written in assembly language into machine language.
Interpreter:- This language processor converts a HLL program into machine language by converting and executing it line by line. If there is any error in any line, it reports it at the same time and program execution cannot resume until the error is rectified. Interpreter must always be present in the memory every time the program is executed as every time the program is run.
Compiler:- It also convert the HLL program into machine language but the conversion manner is different. It converts the entire HLL program in one go, and reports all the errors of the program along with the line numbers. After all the error are removed, the program is compiled and after that the compiler is not needed in the memory as the object program is available.
You Can Also Visit My Previous Post :