Language Processors In Computer

Everything and everyone has their own languages like that computer has its own language that is machine level language. If a person knows only Hindi and want to listen a conversation from an english man he need a translator like that computer has also some translators. For a programmer it is easy to handle high level languages like java, C++ etc but the computer never understand it without a translator. In order to process simple languages to machine level languages there are some language processors are there are the following.
1) Assembler- Before the coming of high level languages programmers used assembly language to develop program because it is easier than the machine level language. The assembler converts the assembly language into machine level language for understandable to the computer.
2) Interpreter:- After the successful coming of high level language programmers seen it easy for handling. They used interpreter to convert high level language into machine level language but the greatest difficulty that caused with this language processor is it only convert and execute program line by line so the programmers need to correct every line after executing. For error debugging interpreter is very much useful as it reports the errors at the same time. But unnecessary usage of memory takes place as it has to be present in the memory always.

3) Compiler-: This is the latest and present language processor. It is easy to handle as the programmer need to write the program first and then click compiler to find the errors. If there is any error it will show the line and statement where the errors is. This language processor converts high level languages into machine level languages.
So these are the language processors which helps the programmers to translate computer languages. All the best.

No comments:

Post a Comment