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. (C) 2007 Elsevier B.V. All rights reserved.
Original language | English |
---|---|
Pages (from-to) | 195-199 |
Number of pages | 5 |
Journal | Information Processing Letters |
Volume | 104 |
DOIs | |
Publication status | Published - 16 Dec 2007 |
Keywords
- formal languages
- grammars
- parsing
- LR(k)