Skip to main content

Balanced Grammars and Their Languages

  • Chapter
  • First Online:
Formal and Natural Computing

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2300))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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.

    Google Scholar 

  2. J.H. Conway. Regular Algebra and Finite Machines. Chapman and Hall, London, 1971.

    MATH  Google Scholar 

  3. 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.

    Google Scholar 

  4. S. Ginsburg and M.A. Harrison. Bracketed Context-Free Languages. J. Comput. Syst. Sci., 1:1–23, 1967.

    MATH  MathSciNet  Google Scholar 

  5. Michael A. Harrison. Introduction to Formal Language Theory. Addison-Wesley, Reading, Mass., 1978.

    MATH  Google Scholar 

  6. D.E. Knuth. A Characterization of Parenthesis Languages. Inform. Control, 11:269–289, 1967.

    Article  MATH  Google Scholar 

  7. A.J. Korenjak and J.E. Hopcroft. Simple Deterministic Grammars. In 7th Switching and Automata Theory, pages 36–46, 1966.

    Google Scholar 

  8. R. McNaughton. Parenthesis Grammars. J. Assoc. Mach. Comput., 14:490–500, 1967.

    MATH  MathSciNet  Google Scholar 

  9. W3C Recommendation REC-xml-19980210. Extensible Markup Language (XML) 1.0, 10 February 1998. http://www.w3.org/TR/REC-XML.

  10. W3C Working Draft. XML Schema Part 0,1 and 2, 22 September 2000. http://www.w3.org/TR/xmlschema-0,1,2.

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics