1. Gyanastra
  2. Compiler Design
  3. 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.

22 lessons2 simulators
  1. 1
    Introduction to LR Parsers and Their Four Types3 min read · Asked in past papers: GATE 2019; UGC NET 2014, 2006.
    Read free
  2. 2
    LR Parsing Algorithm and Role of the Parsing Table4 min read · Asked in past papers: UGC NET 2019.
    Read free
  3. 3Free account
  4. 4
    Closure Operation on LR(0) Items6 min read · Asked in past papers: GATE 2022, 2021, 2019, 2006.
    Free account
  5. 5
    Goto Operation and Building the Canonical Collection of LR(0) Items8 min read · Asked in past papers: GATE 2024, 2022, 2021, 2019, 2006, 1988.
    Pass
  6. 6Pass
  7. 7Pass
  8. 8
    SLR(1) Parsing: Placing Reduce Moves Using FOLLOW Sets6 min read · Asked in past papers: UGC NET 2013.
    Pass
  9. 9Pass
  10. 10
    Shift-Reduce and Reduce-Reduce Conflicts in LR(0) Parsing6 min read · Asked in past papers: GATE 2026, 2014, 2008, 1988; UGC NET 2014.
    Pass
  11. 11Pass
  12. 12
    Worked 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
  13. 13Pass
  14. 14Pass
  15. 15Pass
  16. 16Pass
  17. 17Pass
  18. 18Pass
  19. 19Pass
  20. 20Pass
  21. 21Pass
  22. 22Pass