Evaluating GLR parsing algorithms

  title={Evaluating GLR parsing algorithms},
  author={Adrian Johnstone and Elizabeth Scott and Giorgios Economopoulos},
  journal={Sci. Comput. Program.},
We describe the behaviour of three variants of GLR parsing: (i) Farshi’s original correction to Tomita’s non-general algorithm; (ii) the Right Nulled GLR algorithm which provides a more efficient generalisation of Tomita and (iii) the Binary Right Nulled GLR algorithm, on three types of LR table. We present a guide to the parse-time behaviour of these algorithms which illustrates the inefficiencies in conventional Farshi-style GLR parsing. We also describe the tool GTB (Grammar Tool Box) which… CONTINUE READING