CD Syllabus
CD Syllabus
Introduc on- Translators- Compila on and Interpreta on- Language processors -The Phases
of Compiler – Lexical Analysis – Role of Lexical Analyzer – Input Buffering – Specifica on of
Tokens– Recogni on of Tokens – Finite Automata – Regular Expressions to Automata NFA,
DFA –Minimizing DFA – Language for Specifying Lexical Analyzers – Lex tool.
Role of Parser – Grammars – Context-free grammars – Wri ng a grammar Top Down Parsing
–General Strategies – Recursive Descent Parser Predic ve Parser-LL(1) – Parser-Shi Reduce
Parser-LR Parser- LR (0)Item Construc on of SLR Parsing Table – Introduc on to LALR Parser
–Error Handling and Recovery in Syntax Analyzer-YACC tool – Design of a syntax Analyzer for
a Sample Language
Syntax directed Defini ons-Construc on of Syntax Tree-Bo om-up Evalua on of S-A ribute
Defini ons- Design of predic ve translator – Type Systems-Specifica on of a simple type
Checker-Equivalence of Type Expressions-Type Conversions. Intermediate Languages: Syntax
Tree, Three Address Code, Types and Declara ons, Transla on of Expressions, Type
Checking, Back patching.