Friday, 29 July 2016

what is compiler


The compiler is used to convert the high level language or source language in to low level language or target language."
  • Hi level languages are understandable by a human being or programmer.
  • Low level language are understandable by the machines only.

  • When executing (running), the compiler first parses (or analyzes) all of the language statements syntactically one after the other and then, in one or more successive stages or "passes", builds the output code, making sure that statements that refer to other statements are referred to correctly in the final code. Traditionally, the output of the compilation has been called object code or sometimes an object module . (Note that the term "object" here is not related to object-oriented programming .) The object code ismachine code that the processor can process or "execute" one instruction at a time.

No comments:

Post a Comment