What is Compiler ?

January 27, 2012 No Comments » Hits : 343





Definition of Compiler :

  1. A computer program which reads source code and outputs assembly code or executable code is called compiler.

OR

  1. A program that translates software written in source code into instructions that a computer can understand Software used to translate the text that a programmer writes into a format the CPU can use.

OR

  1. A piece of software that takes third-generation language code and translates it into a specific assembly code. Compilers can be quite complicated pieces of software.

Compiler Overview :

Different Phases of Compiler

  1. Lexical Analysis Phase
  2. Syntax Analysis
  3. Semantic Analysis
  4. Intermediate Code Generation
  5. Code Optimizer
  6. Code Generation

Incoming search terms: