GENERALIZED LR PARSING ALGORITHM FOR BOOLEAN GRAMMARS
- 1 June 2006
- journal article
- research article
- Published by World Scientific Pub Co Pte Ltd in International Journal of Foundations of Computer Science
- Vol. 17 (03) , 629-664
Abstract
The generalized LR parsing algorithm for context-free grammars is extended for the case of Boolean grammars, which are a generalization of the context-free grammars with logical connectives added to the formalism of rules. In addition to the standard LR operations, Shift and Reduce, the new algorithm uses a third operation called Invalidate, which reverses a previously made reduction. This operation makes the mathematical justification of the algorithm significantly different from its prototype. On the other hand, the changes in the implementation are not very substantial, and the algorithm still works in time O(n4).Keywords
This publication has 10 references indexed in Scilit:
- Boolean grammarsInformation and Computation, 2004
- LR Parsing for Conjunctive GrammarsGrammars, 2002
- Even faster generalized LR parsingActa Informatica, 2001
- Parsing Schemata1997
- Principles and implementation of deductive parsingThe Journal of Logic Programming, 1995
- GLR Parsing in Time O(n 3 )1991
- Scannerless NSLR(1) parsing of programming languagesACM SIGPLAN Notices, 1989
- Efficient Parsing for Natural Language1986
- On the translation of languages from left to rightInformation and Control, 1965
- Two Families of Languages Related to ALGOLJournal of the ACM, 1962