Compiler Design | complier design notes | CD | Cd notes | computer science

Compiler Design

Compiler Design

(1) Introduction of Compiler Design
A compiler is a software which converts high level to low-level language.

Here the Analysis part does analysis on input whether it is an incorrect format or not if not then produce an error if in correct format then it passes into a synthesis in synthesis phase code is converted into low-level language and optimization of code is also perform in synthesis phase.

Phases of a Compiler –
  • Analysis Phase –
      Lexical Analyzer
      Syntax Analyzer
      Semantic Analyzer
    Synthesis Phase –
      Intermediate Code Generator
      Code Optimizer
      Code Generatorr
  • Comments