Abstract
A method is presented for obtaining a simple deterministic pushdown transducer which acts as a parser for simple chain grammars. It is shown that a simple deterministic grammar can be constructed which covers the simple chain grammar. To obtain both the simple deterministic pushdown transducer and the cover result, a new type of parse is introduced which differs from the left and right parses which are common for the usual one pass no back-tracking parsing algorithms. For the simple chain grammars this parse, the so-called left part parse, follows from a simple left part property which is satisfied by the grammatical trees of simple chain grammars.
Preview
Unable to display preview. Download preview PDF.
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), pp. 381–402.
A.J. KORENJAK and J.E. HOPCROFT, Simple deterministic languages, in "7th Ann. Sympos. on Sw. and Aut. Theory, IEEE 1966", pp. 36–46.
A. NIJHOLT, On the covering of parsable grammars, J. Comput. System Sci. 15 (1977), pp. 99–110.
A. NIJHOLT, A left part theorem for grammatical trees, IR-22, Dept. of Mathematics, Vrije Universiteit Amsterdam, august 1977.
A. NIJHOLT, Simple chain grammars, Proceedings of the 4th Coll. on Automata, Languages and Programming 1977 (eds. A. Salomaa and M. Steinby) pp. 352–364, Lecture Notes in Computer Science 52, Springer Verlag, Berlin.
D.J. ROSENKRANTZ and P.M. LEWIS, Deterministic left-corner parsing, in "11th Ann. Sympos. on Sw. and Aut. Theory, IEEE 1970", pp. 139–152.
M.A. HARRISON and I.M. HAVEL, Real-time strict deterministic languages, Siam J. of Comput. 4 (1972), pp. 333–349.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1978 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Nijholt, A. (1978). On the parsing and covering of simple chain grammars. In: Ausiello, G., Böhm, C. (eds) Automata, Languages and Programming. ICALP 1978. Lecture Notes in Computer Science, vol 62. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-08860-1_24
Download citation
DOI: https://doi.org/10.1007/3-540-08860-1_24
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-08860-8
Online ISBN: 978-3-540-35807-7
eBook Packages: Springer Book Archive