Shift-Reduce parsing Grammar Reducing a sentence: Shift-reduce corresponds S→ aBE abbcde to a rightmost derivation A→ Abel abcde S→aABe B→d d e a ad e a abe a abcde These match a bbcde roduction's p right-hand sides A A A B B a bbcd ea bbcd ea bbcd ea b bcd