SLR(k) covering for LR(k) grammars

https://doi.org/10.1016/0020-0190(91)90152-8Get rights and content

Abstract

We show that every LR(k) context-free grammar can be right covered by an SLR(k) grammar. We give a method of transforming an arbitrary LR(k) grammar into an SLR(k) grammar which right covers it. The transformation is based on the LR(k) parser for the given grammar.

References (10)

There are more references available in the full text version of this article.

Cited by (3)

  • On the reduction of LR(k) parsers

    1993, Information Processing Letters

Research supported by Korea Science & Engineering Foundation, Grant No. 901-1101-002-2.

∗∗

Present address: Department of Computer Science, University of Ulsan, P.O. Box 18, Ulsan, Kyuong-Nam 680-749, South Korea.

View full text