Chapter 1

Introduction to Compiler

Compiler structure; analysis and synthesis phases; basic compiler concepts.

Chapter 2

Lexical Analyzer

Role of lexical analyzer; input buffering; token specification; finite automata; RE to NFA; scanning.

Chapter 3

Symbol Table and Runtime Storage

Symbol table functions; attributes; data structures; runtime memory organization.

Chapter 4

Intermediate Code & Code Generation

Three-address code; quadruples; DAG; syntax-directed translation; optimization; case studies.