Abstract
The use of control strings to direct derivations in context-free grammars is generalized in this paper. Recording grammars (rgs) are introduced. Rgs don't have a pregiven set of control strings, but generate these during the course of derivations. The generative capacity for several models of rgs is studied. The control mechanism inherent to rgs establishes relationships between substrings in words. The nature of these relationships is investigated too. Applicability of rgs within both compiler theory and programming language description methods is demonstrated. New characterizations of a-transducer mappings and Turing-transductions are displayed. It is shown further how rgs can be used to formalize non-contextfree features in programming languages.
Preview
Unable to display preview. Download preview PDF.
6. References
A.V.Aho, J.D.Ullman: The Theory of Parsing, Translation and Compiling. Vol.1, Prentice-Hall 1972
G.Barth: Protokollgrammatiken-Ein Konzept zur zeitvarianten Kontrolle bei kontextfreien Ersetzungen. Doctorial Thesis, Universität Kaiserslautern 1977
G. Barth: Efficient Non-Contextfree Parsing. Proc. of 7th Annual GI-Conference, Informatik-Fachberichte No.10, Springer Berlin-Heidelberg-New York, pp.1–15
K. Culik, C.W. Morey: Formal Schemes for Language Translations. Int.J.Comp.Math. Section A, 3(1971), pp.17–48
S.Ginsburg: Algebraic and Automata-Theoretic Properties of Formal languages. North-Holland Publishing Company 1975
S. Ginsburg, E.H. Spanier: Control Sets on Grammars. Math.Sys.Th. 2(1968), pp.159–177
J.E.Hopcroft, J.D.Ullman: Formal Languages and their Relation to Automata. Addison-Wesley 1969
T. Kasai: A Hierarchy between Contextfree and Contextsensitive Languages. JCSS 4(1970), pp.492–508
H.Maurer: Theoretische Grundlagen der Programmiersprachen. BI-Hochschultaschenbuch 404/404a, 1969
A.Salomaa: Formal Languages. Academic Press 1973
N. Wirth: The Programming Language PASCAL. Acta Inf. 1(1971), pp. 35–63
G.Barth: Mastering Contextsensitivity in Programming Languages. To be presented at the MFCS'78 Conference in Zakopane, Poland, September 1978
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1978 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Barth, G. (1978). Grammars with dynamic control sets. 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_4
Download citation
DOI: https://doi.org/10.1007/3-540-08860-1_4
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