Abstract
A single construction method for SLR, LALR, NQLALR and NQSLR parsers is presented. The latter two are generalizations of NQLALR(l) grammars, defined for the first time here. The construction method is based on two relations that capture the essential structure of the problem of computing fixed look-ahead for LR parsers. These relations capture both the similarities and the differences among the various techniques, which have been misunderstood in the past. Three parameters are used to specify the type of parser to be constructed and the amount of look-ahead to be used.
General Terms: