Abstract
Balanced grammars are a generalization of parenthesis grammars in two directions. First, several kind of parentheses are allowed. Next, the set of right-hand sides of productions may be an infinite regular language. XML-grammars are a special kind of balanced grammars. This paper studies balanced grammars and their languages. It is shown that there exists a unique minimal balanced grammar equivalent to a given one. Next, balanced languages are characterized through a property of their syntactic congruence. Finally, we show how this characterization is related to previous work of McNaughton and Knuth on parenthesis languages.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
J. Berstel and L. Boasson. XML-grammars. In MFCS 2000 Mathematical Foundations of Computer Science (M. Nielsen and B. Rovan, Eds.), Springer-Verlag, Lect. Notes Comput. Sci. 1893, pages 182–191, 2000.
J.H. Conway. Regular Algebra and Finite Machines. Chapman and Hall, London, 1971.
N. Chomsky and M.P. Schützenberger. The Algebraic Theory of Context-Free Languages. In Computer Programming and Formal Systems (P. Braffort and D. Hirschberg, Eds.), North-Holland, Amsterdam, pages 118–161, 1963.
S. Ginsburg and M.A. Harrison. Bracketed Context-Free Languages. J. Comput. Syst. Sci., 1:1–23, 1967.
Michael A. Harrison. Introduction to Formal Language Theory. Addison-Wesley, Reading, Mass., 1978.
D.E. Knuth. A Characterization of Parenthesis Languages. Inform. Control, 11:269–289, 1967.
A.J. Korenjak and J.E. Hopcroft. Simple Deterministic Grammars. In 7th Switching and Automata Theory, pages 36–46, 1966.
R. McNaughton. Parenthesis Grammars. J. Assoc. Mach. Comput., 14:490–500, 1967.
W3C Recommendation REC-xml-19980210. Extensible Markup Language (XML) 1.0, 10 February 1998. http://www.w3.org/TR/REC-XML.
W3C Working Draft. XML Schema Part 0,1 and 2, 22 September 2000. http://www.w3.org/TR/xmlschema-0,1,2.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Berstel, J., Boasson, L. (2002). Balanced Grammars and Their Languages. In: Brauer, W., Ehrig, H., Karhumäki, J., Salomaa, A. (eds) Formal and Natural Computing. Lecture Notes in Computer Science, vol 2300. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45711-9_1
Download citation
DOI: https://doi.org/10.1007/3-540-45711-9_1
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-43190-9
Online ISBN: 978-3-540-45711-4
eBook Packages: Springer Book Archive