Table of content:


Micro-Syllabus of Unit 2 : Analysis ( 22 hr ) 35 marks fix

2.1 Lexical Analysis: Its role, Specification and Recognition of tokens, Input Buffer, Finite Automata relevant to compiler construction syntactic specification of languages, Optimization of DFA based pattern matchers

2.2 Syntax Analysis: Its role, Basic parsing techniques: Problem of Left Recursion, Left Factoring, Ambiguous Grammar, Top-down parsing, Bottom-up parsing, LR parsing

2.3 Semantic Analysis: Static & Dynamic Checks, Typical Semantic errors, Scoping, Type Checking; Syntax directed definitions (SDD) & Translation (SDT), Attribute Types: Synthesized & Inherited, Annotated Parse Tree, S-attributed and L-attributed grammar, Applications of syntax directed translation, Type Systems, Type Checking and Conversion


🗒️Note:→

2.1 Lexical Analysis

Untitled

Screenshot 2023-03-28 at 8.54.43 AM.png

https://www.youtube.com/watch?v=BgNdtk9h8Ok&list=PLxCzCOWd7aiEKtKSIHYusizkESC42diyc&index=3