- Gyanastra
- Compiler Design
- LR(0) and SLR(1) Parsing
Compiler Design
LR(0) and SLR(1) Parsing: lessons and notes
22 lessons on lr(0) and slr(1) parsing for GATE CSE, ISRO and UGC NET. Read the first two lessons free, right here; the rest of the chapter is for signed-in learners. Each lesson shows the exam years that asked it and ends with practice questions.
- 1Introduction to LR Parsers and Their Four Types3 min read · Asked in past papers: GATE 2019; UGC NET 2014, 2006.Read free
- 2LR Parsing Algorithm and Role of the Parsing Table4 min read · Asked in past papers: UGC NET 2019.Read free
- 3LR(0) Items and the Augmented Grammar5 min readFree account
- 4Closure Operation on LR(0) Items6 min read · Asked in past papers: GATE 2022, 2021, 2019, 2006.Free account
- 5Goto Operation and Building the Canonical Collection of LR(0) Items8 min read · Asked in past papers: GATE 2024, 2022, 2021, 2019, 2006, 1988.Pass
- 6Pass
- 7Worked Example: Parsing a String with the LR(0) Parsing Table (Stack, Shift and Reduce Moves)9 min read · Asked in past papers: GATE 2020, 2015, 2013.Pass
- 8SLR(1) Parsing: Placing Reduce Moves Using FOLLOW Sets6 min read · Asked in past papers: UGC NET 2013.Pass
- 9Pass
- 10Shift-Reduce and Reduce-Reduce Conflicts in LR(0) Parsing6 min read · Asked in past papers: GATE 2026, 2014, 2008, 1988; UGC NET 2014.Pass
- 11Pass
- 12Worked Example: Checking Whether a Grammar is LL(1), LR(0) and SLR(1)7 min read · Asked in past papers: GATE 2015, 2003; UGC NET 2018.Pass
- 13Pass
- 14Pass
- 15Pass
- 16Pass
- 17Pass
- 18Pass
- 19Pass
- 20Pass
- 21Pass
- 22Speed tips and shortcuts4 min readPass