LR Parsers — Study Resources & PYQs
LR parsers
- Estimated study time: 96 minutes
Study resources
- Lec-11: LR(0) Parsing Table | Bottom-Up Parser — Gate Smashers (referenced via Medium roundup) (Video) — Lec-11: LR(0) Parsing Table | Bottom-Up Parser — Gate Smashers (referenced via Medium roundup) — resource aligned with LR Parsers.
- LR Parsing Part 3: LR(0) items and LR(0) parsing — GATE CSE blog (Article) — LR Parsing Part 3: LR(0) items and LR(0) parsing — GATE CSE blog — resource aligned with LR Parsers.
LR Parsers previous year questions
- (a) Explain the algorithm to eliminate Left-Recursion from a grammar with no cycle with suitable example. [10] (b) Discuss SLR and LALR parsing. [10]
- (a) Discuss the difference between the basic types of parsing. Also define the role of operator precedence grammar. Explain the algorithm for computation of le…
- Explain GOTO and CLOSURE function in LR grammars. Consider the following grammar: $E \rightarrow E+T \mid T$ $T \rightarrow T*F \mid F$ $F \rightarrow (E) \mid…
Taught in these subjects
- Compiler Design — CST-3602 · Government College of Engineering and Technology, Jammu