Skip to main content

Posts

Showing posts with the label how Compiler works

Types and Differences of Language Processors or Translators in Programming

Q. Define Language processor or Translator. Explain different types of Language processors. Language Processors / Translator         Computer directly understands machine language only. That is why Machine language is called the native language of computer. Machine language is in binary form that is its instructions consists of strings of zeros and ones.         A program written in high-level or assembly language cannot be run on a computer directly. Firstly, it is converted into machine language. So there is a need to translate the source program into object code for a computer to execute it.  Definition of Language Processor  Language processor may be defined as a software that converts source programs into object program. Language processor is also called Language Translator.  Therefore, a language translator software will take a source program(that cannot be understood by computer) as input and then will convert it into object code(that can be understood by computer