CS2352
PRINCIPLES OF COMPILER DESIGN
LTPC 3024
UNIT I LEXICAL ANALYSIS 9 Introduction to Compiling- Compilers-Analysis of the source program-The phasesCousins-The grouping of phases-Compiler construction tools. The role of the lexical analyzer- Input buffering-Specification of tokens-Recognition of tokens-A language for specifying lexical analyzer. UNIT II SYNTAX ANALYSIS and RUN-TIME ENVIRONMENTS 9 Syntax Analysis- The role of the parser-Context-free grammars-Writing a grammarTopdown parsing-Bottom-up Parsing-LR parsers-Constructing an SLR(1) parsing table. Type Checking- Type Systems-Spec
↧