B.Tech III Year II Semester (R18)
Introduction: Phases of compiler, Groping of phases. Lexical Analysis: The Role of the Lexical Analyzer, Input Buffering, Recognition of Tokens, The Lexical-Analyzer Generator LEX, Finite Automata, From Regular Expressions to Automata.
Syntax Analysis: Introduction, Context-Free Grammars, Writing a Grammar, Top-Down Parsing, Bottom-Up Parsing, Introduction to LR Parsing: Simple LR, More Powerful LR Parsers.
Syntax-Directed Translation: Syntax-Directed Definitions, Construction of syntax trees, Bottom-up evaluation of S-attributed definitions, L-attributed definitions, Top down translation, Bottom-up evaluation of inherited attributes. Type checking: Type systems, Specification of a simple type checker, Equivalence of type expressions. Intermediate-Code Generation: Intermediate languages, Declarations
Run-Time Environments: Storage organization, Storage allocation strategies, Symbol tables. Code Generation: Issues in the Design of a Code Generator, The Target Machine, Basic Blocks and Flow Graphs, , A Simple Code Generator, Register Allocation and Assignment, Generation of DAGs, Generating code from DAGs.
Machine-Independent Optimizations: Introduction, The Principal Sources of Optimization, Introduction to Data-Flow Analysis, Foundations of Data-Flow Analysis.
Loading Question Papers
Fetching data from database...