Ordering Rejectable Stacks in SGLR Parsing
Scannerless Generalised LR can parse context-free grammars extended with conjunction-with-negation, represented by reject rules. To handle reject rules correctly, Visser defines a specific ordering between states that can be reduced during parsing: first reduce non-rejectable states, then rejectable states. However, he remarks that in specific situations an ordering between rejectable states is required for correct parsing results, for example when encoding intersections with reject rules. The question of how to order rejectable states was left open. In this work, we present a solution that orders stacks topped by rejectable states.
Authors
- Daniel A. A. Pelsmaeker (ORCID: https://orcid.org/0000-0003-0196-0567)
- Jeff Smits (ORCID: https://orcid.org/0000-0002-8053-8868)
Institutions
- Delft University of Technology (NL)
Publication Details
- Published
- 2024-10-17
- DOI
- https://doi.org/10.1145/3689491.3691823
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00