Abstract
Attention is paid to structure preserving properties of transformations from a non-left-recursive context-free grammar to a Greibach normal form grammar. It is demonstrated that such a transformation cannot only be ambiguity preserving, but also both cover and functor relations between grammars or their associated syntax-categories can be obtained from such a transformation.
Similar content being viewed by others
References
A. V. Aho and J. D. Ullman,The theory of parsing, translation and compiling, Vol. 1 and 2., Prentice-Hall, Englewood Cliffs, N.J. 1972 and 1973.
D. B. Benson,Some preservation properties of normal form grammars, Siam J. of Comput. 6 (1977), 381–402.
J. N. Gray and M. A. Harrison,On the covering and reduction problems for context-free grammars, J. Assoc. Comput. Mach. 19 (1972), 675–698.
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Nijholt, A. Grammar functors and covers: From non-left-recursive to greibach normal form grammars. BIT 19, 73–78 (1979). https://doi.org/10.1007/BF01931223
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF01931223