Skip to content

LR

Family of parsing algorithms. LR - first L stands for left-to-right. R stands for rightmost derivation. Aka:

  • bottom-up. In bottom-up parsers, construction of parse tree starts at the leaves and proceeds towards the root.
  • shift/reduce.

Includes following algorithms (not an exhaustive list):

Related: