13MCA546 Compiler Design syllabus for MCA


Unit-1 Introduction, Lexical analysis 8 hours

Language processors; The structure of a Compilers; The evolution of programminglanguages; The science of building a compiler; Applications of Compiler technology;Programming language basics; Lexical analysis: The Role of Lexical Analyzer; InputBuffering; Specifications of Tokens; Recognition of Tokens.

Unit-2 Syntax Analysis - 1 6 hours

Introduction; Context-free Grammars; Writing a Grammar; Top-down Parsing

Unit-3 Syntax Analysis - 2 6 hours

Bottom-up Parsing; Introduction to LR Parsing: Simple LR.

Unit-4 Syntax Analysis - 3 6 hours

More powerful LR parsers; Using ambiguous grammars; Parser Generators.

Unit-5 Syntax-Directed Translation 6 hours

Syntax-Directed definitions; Evaluation order for SDDs; Applications of Syntaxdirectedtranslation; Syntax-directed translation schemes

Unit-6 Intermediate Code Generation 8 hours

Variants of syntax trees; Three-address code; Types and declarations; Translation ofexpressions; Type checking; Control flow; Back patching; Switch statements;Intermediate code for procedures.

Unit-7 Run-Time Environments 6 hours

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

Unit-8 Code Generation 6 hours

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

Last Updated: Tuesday, January 24, 2023