Language processor/ Language Translator


Language processor/Language Translator

Computer hardware can only understand machine level languages or instructions. But, in most cases we use only High level languages. So it is the necessity to convert the HLL’s into its corresponding machine level language. There are mainly three types of language processor are currently in use, such as-

v  Compiler: Compiler is a language translator, which converts the high level language into machine level language by compiling the whole program at once. So, it takes less time to compile the whole program.

v  Interpreter: Interpreter is also a language translator, which converts the high level language into machine level language by interpreting line by line. When it gets an error it stops interpreting and report user about the error. It resumed its interpretation until the error being corrected by the user. That’s why it takes more time to compile a program than compiler.

v  Assembler: Assembler is also a language translator, which converts assembly level language into machine level language.

0 Comments:

If you want more content, please let me know.