Skip to content

Compiler Design syllabus

COMP 4096 units · 30 topicsAcademic year 2083/84
Browse the units

1Introduction to Compilers

  1. 1.1
    Compilers
  2. 1.2
    Analysis-Synthesis model
  3. 1.3
    The phases of compiler
  4. 1.4
    Error Handler and Symbol Table
  5. 1.5
    Cousins of the compiler
  6. 1.6
    Compiler Construction tools

2Lexical Analysis

  1. 2.1
    Introduction
  2. 2.2
    Scanning Process
  3. 2.3
    Regular Expressions
  4. 2.4
    Finite Automaton
  5. 2.5
    Regular Expressions to DFA

3Syntax Analysis

  1. 3.1
    The role of the parser
  2. 3.2
    Context-free grammars
  3. 3.3
    Writing a grammar
  4. 3.4
    Top-down parsing
  5. 3.5
    Bottom-up parsing
  6. 3.6
    LR-Parsing

4Syntax Directed Translation and Run-Time Environments

  1. 4.1
    Attributes and attribute grammar
  2. 4.2
    Type Checking
  3. 4.3
    Symbol Table
  4. 4.4
    Introduction to Run-Time Environment

5Introduction to Intermediate Code Generation

  1. 5.1
    Introduction to Intermediate Code
  2. 5.2
    Three address code
  3. 5.3
    P-Code
  4. 5.4
    Issues in the design of code generation
  5. 5.5
    Target Machine

6Introduction to Code Optimization

  1. 6.1
    Introduction
  2. 6.2
    Principle sources of code optimization
  3. 6.3
    Classification of optimizations
  4. 6.4
    Implementation Technique