kirancodes.me
To Proof Maintenance & Beyond!

On the (non-) Relationship between SLR(1) and NQLALR(1) Grammars

Manuel E. Bermudez, Karl M. Schimpf

Abstract

A popular but “not-quite” correct technique for computing LALR(1) look-ahead sets has been formalized by DeRemer and Pennello and dubbed NQLALR(l). They also claim that the class of SLR(l) grammars is a subset of the class of NQLALR(1) grammars. We prove here that no such relationship exists between those two classes. We do so with a counterexample that, ironically, appeared in DeRemer and Pennello's own paper.

Related papers