×

Interactive construction of small grammars. (English) Zbl 1322.68116

Summary: An interactive approach to constructing small LR(1) grammars is presented. An example involving parsing permutations is used to illustrate the approach.

MSC:

68Q42 Grammars and rewriting systems

Keywords:

LR parser; grammar

References:

[1] A. V. Aho, R. Sethi, and J. D. Ullman, Compilers , Addison Wesley, Reading, MA, 1986.
[2] S. Heilbrunner, A direct complement construction for \(LR(1)\) grammars , Acta Informatica, 33 (1996), 781-797. · Zbl 0853.68121 · doi:10.1007/s002360050070
[3] P. Linz, An Introduction to Formal Languages and Automata , Jones and Bartlett, Sudbury, MA, 2006. · Zbl 1230.68010
[4] J. C. Martin, Introduction to Languages and the Theory of Computation , McGraw Hill, New York, NY, 2011.
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.