10IS662 Compiler Design syllabus for IS


Part A
Unit-1 Introduction, Lexical analysis 8 hours

Language processors; The structure of aCompiler; The evolution pf programming languages; The science of buildinga Compiler; Applications of compiler technology; Programming languagebasics.Lexical analysis: The Role of Lexical Analyzer; Input Buffering;Specifications of Tokens; Recognition of Tokens.

Unit-2 Syntax Analysis – 1 6 hours

Introduction; Context-free Grammars; Writing aGrammar. Top-down Parsing; Bottom-up Parsing.

Unit-3 Syntax Analysis – 2 6 hours

Top-down Parsing; Bottom-up Parsing.

Unit-4 Syntax Analysis – 3 6 hours

Introduction to LR Parsing: Simple LR; More powerfulLR parsers (excluding Efficient construction and compaction of parsingtables) ; Using ambiguous grammars; Parser Generators.

Part B
Unit-5 Syntax-Directed Translation 7 hours

Syntax-directed definitions; Evaluationorders for SDDs; Applications of syntax-directed translation; Syntax-directedtranslation schemes.

Unit-6 Intermediate Code Generation 6 hours

Variants of syntax trees; Three-addresscode; Translation of expressions; Control flow; Back patching; Switchstatements;Procedure calls.

Unit-7 Run-Time Environments 6 hours

Storage Organization; Stack allocation of space;Access to non-local data on the stack; Heap management; Introduction togarbage collection.

Unit-8 Code Generation 7 hours

Issues in the design of Code Generator; The TargetLanguage; Addresses in the target code; Basic blocks and Flow graphs;Optimization of basic blocks; A Simple Code Generator

Last Updated: Tuesday, January 24, 2023