Everything About ___
Live briefing

Everything about Shift-reduce parser

Class of bottom-up parsing methods

A shift-reduce parser is a class of efficient, table-driven bottom-up parsing methods for computer languages and other notations formally defined by a grammar. The parsing methods most commonly used for parsing programming languages, LR parsing and its variations, are shift-reduce methods. The precedence parsers used before the invention of LR parsing are also shift-reduce methods. All shift-reduce parsers have similar outward effects, in the incremental order in which they build a parse tree or call specific output actions. Wikipedia →

đź§­ Start here: a 6-step reading path

  1. Read the overview: Shift-reduce parserA 5-minute orientation
  2. Pick up a classic book: Principles of compiler designThe most-reprinted book on the subject
  3. Read the landmark paper: Error repair in shift-reduce parsersCited 12 times
  4. Go sideways: LR parserA closely related topic
  5. Go sideways: Canonical LR parserA closely related topic

đź“– Definitions

No dictionary entry for this exact phrase.

🏆 Landmark papers (most cited)

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

đź”— Related topics