Some observations on LR-like parsing with delayed reduction

  • Authors:
  • E. Bertsch;M. -J. Nederhof

  • Affiliations:
  • Ruhr University, Faculty of Mathematics, Universitätsstraße 150, D-44780 Bochum, Germany;School of Computer Science, University of St Andrews, North Haugh, St Andrews, Fife, KY16 9SX, Scotland, UK

  • Venue:
  • Information Processing Letters
  • Year:
  • 2007

Quantified Score

Hi-index 0.89

Visualization

Abstract

We discuss a bottom-up parsing technique based on delayed reductions, and investigate its capabilities and limitations. Some non-LR(k) grammars, for any k, are handled deterministically by this method. Surprisingly, and counter-intuitively from the viewpoint of LR(k), increase of delay may lead to decrease of determinism. We also present a variant that uses both delay and lookahead.