Skip to main content

On Context-Sensitive Grammars

  • Chapter
Formal Languages and Applications

Part of the book series: Studies in Fuzziness and Soft Computing ((STUDFUZZ,volume 148))

Abstract

This is an overview on context-sensitive grammars. The paper contains also an appendix about Chomsky type-0 grammars (also called phrase-structure grammars). These grammars and families of languages are arising in classical language theory. Most of the topics presented in this paper are in some sense modifications of the classical notion of a rewriting system, introduced by Axel Thue at the beginning of 20th century, [44]. A rewriting system is a (finite) set of rules uν, where u and ν are words, indicating that an occurrence of u (as a subword) can be replaced by ν. A rewriting system only transforms words into other words, languages into other languages. After supplementing it with some mechanism for “squeezing out” a language, a rewriting system can be used as a device for defining languages. This is what Chomsky did, with linguistic goals in mind, when he introduced different types of grammars, [3, 4, 5], see also [6]. At the beginning, the classification was not very clear but by mid-60’s the four classes of the Chomsky hierarchy of grammars and languages have become pretty standard: recursively enumerable,or of type 0; context-sensitive, or of type 1; context-free, or of type 2; regular,or of type 3.

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 169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover 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. Baker, B.S.: Context-sensitive grammars generating context-free languages. In M. Nivat (Ed.) Automata, Languages and Programming, (North-Holland, 1972 ), pp 501–506.

    Google Scholar 

  2. Book, R.V.: Terminal context in context-sensitive grammars. SIAM Journal of Computing, 1 (1972), 20–30.

    Article  MathSciNet  MATH  Google Scholar 

  3. Chomsky, N.: Three models for the description of language. IRE Trans. on Information Theory, 2, 3 (1956), 113–124.

    Article  MATH  Google Scholar 

  4. Chomsky, N.: Syntactic Structures ( Mouton, Gravenhage, 1957 ).

    Google Scholar 

  5. Chomsky, N.: On certain formal properties of grammars. Information and Control, 2 (1959), 137–167.

    Article  MathSciNet  MATH  Google Scholar 

  6. Chomsky, N.: Formal properties of grammars In Handbook of Math. Psych., Vol. 2, (1963), 323–418.

    Google Scholar 

  7. Church, A.: An unsolvable problem for elementary number theory. The American Journal of Mathematics, 58 (1936), 345–363.

    Article  MathSciNet  Google Scholar 

  8. Culik II, K.: A purely homomorphic characterization of recursively enumerable sets. Journal of the ACM, 26, 2 (1979), 345–350.

    Article  MathSciNet  MATH  Google Scholar 

  9. Davis, M.: Unsolvable problems. In J. Barwise (Ed.) Handbook of Mathematical Logic (North-Holland, 1977 ), pp 567–594.

    Google Scholar 

  10. Engelfriet, J., Rozenberg, G.: Fixed point languages, and representation of recursively enumerable languages. Journal of the ACM, 27, 3 (1980), 499–518.

    Article  MathSciNet  MATH  Google Scholar 

  11. Geffert, V.: A representation of recursively enumerable languages by two homomorphisms and a quotient. Theoretical Computer Science, 62 (1988), 235–249.

    Article  MathSciNet  MATH  Google Scholar 

  12. Geffert, V.: Normal forms for phrase-structure grammars. RAIRO Informatique théorique et Applications, 25, 5 (1991), 473–496.

    MathSciNet  MATH  Google Scholar 

  13. Geffert, V.: Tally versions of the Savitch and Immerman-Szelepcsényi theorems for sublogarithmic space. SIAM Journal of Computing, 22, 1 (1993), 102–113.

    Article  MathSciNet  MATH  Google Scholar 

  14. Ginsburg, S., Greibach, S.: Mappings which preserve context-sensitive languages. Information and Control, 9 (1966), 563–582.

    Article  MathSciNet  MATH  Google Scholar 

  15. Ginsburg, S., Greibach, S., Harrison, M.: One-way stack automata. Journal of the ACM, 14 (1967), 389–418.

    Article  MathSciNet  MATH  Google Scholar 

  16. Gladkij, A.V.: Formal Grammars and Languages ( Izdatelstvo Nauka, Moscow, 1973 ).

    Google Scholar 

  17. Gorun, I.: A hierarchy of context-sensitive languages. MFCS-76 Proceedings, Lecture Notes in Computer Science,45, (Springer-Verlag, 1976), pp 299–303.

    Google Scholar 

  18. Hibbard, T.: Scan Limited Automata and Context Limited Grammars, Doctoral dissertation, University of California at Los Angels, 1966.

    Google Scholar 

  19. Immerman, N.: Nondeterministic space is closed under complementation. SIAM Journal of Computing, 17, 5 (1988), 935–938.

    Article  MathSciNet  MATH  Google Scholar 

  20. Istrail, S.: Elementary bounded languages. Information and Control, 39 (1978), 177–191.

    Article  MathSciNet  MATH  Google Scholar 

  21. Istrail, S.: On complements of some bounded context-sensitive languages. Information and Control, 42 (1979), 283–289.

    Article  MathSciNet  MATH  Google Scholar 

  22. Jones, N.D.: A survey of formal language theory. Technical Report 3, University of Western Ontario, Computer Science Department, 1966.

    Google Scholar 

  23. Karp, R.M.: Reducibility among combinatorial problems. In Complexity of Computer Computations ( Plenum Press, New York, 1972 ), pp 85–104.

    Chapter  Google Scholar 

  24. Kuroda, S.Y.: Classes of languages and linear bounded automata. Information and Control, 7 (1964), 207–223.

    Article  MathSciNet  MATH  Google Scholar 

  25. Liu, L.Y., Weiner, P.: An infinite hierarchy of intersections of context-free languages. Mathematical Systems Theory, 7 (1973), 187–192.

    Article  MathSciNet  Google Scholar 

  26. Latta, M., Wall, R.: Intersective context-free languages. In C. Martin-Vide (Ed.) 9th Congress on Natural and Formal Languages, Proceedings ( Tarragona, Spain, 1993 ).

    Google Scholar 

  27. Latteux, M., Turakainen, P.: On characterizations of recursively enumerable languages, Acta Informatica, 28 (1990), 179–186.

    Article  MathSciNet  MATH  Google Scholar 

  28. Mateescu, A., Salomaa, A.: Aspects of classical language theory. in [37], Chapter 4, vol. 1, pp 175–252.

    Google Scholar 

  29. Matthews, G.: A note on symmetry in phrase structure grammars. Information and Control, 7 (1964), 360–365.

    Article  MATH  Google Scholar 

  30. Matthews, G.: Two-way languages. Information and Control, 10 (1967), 111–119.

    Article  MATH  Google Scholar 

  31. Pâun, Gh.: Regular extended H systems are computationally universal. Journal of Automata, Languages and Combinatorics, 1, 1 (1996), 27–36.

    MATH  Google Scholar 

  32. Pâun, Gh., Rozenberg, G., Salomaa, A.: DNA Computing. New Computing Paradigms ( Springer-Verlag, Berlin, 1998 ).

    MATH  Google Scholar 

  33. Penttonen, M.: One-sided and two-sided context in formal grammars Information and Control, 25 (1974), 371–392.

    Article  MathSciNet  MATH  Google Scholar 

  34. Post, E.L.: Finite combinatory processes-formulation I. Journal of Symbolic Logic, 1 (1936), 103–105.

    Article  MATH  Google Scholar 

  35. Rice, H.G.: Classes of recursively enumerable sets and their decision problems. Transactions of the AMS, 89 (1953), 25–59.

    Google Scholar 

  36. Rice, H.G.: On completely recursively enumerable classes and their key arrays. Journal of Symbolic Logic, 21 (1956), 304–341.

    Article  MathSciNet  MATH  Google Scholar 

  37. Rozenberg, G., Salomaa, A. (Eds.): Handbook of Formal Languages ( Springer, Berlin, 1997 ).

    MATH  Google Scholar 

  38. Rozenberg, G., Salomaa, A.: Cornerstones of Undecidability ( Prentice Hall, New York, 1994 ).

    MATH  Google Scholar 

  39. Salomaa, A.: Formal Languages, ( Academic Press, New York 1973 ).

    MATH  Google Scholar 

  40. Salomaa, A.: The Formal Languages Column. Bulletin of the EATCS, 33 (1987), 42–53.

    MATH  Google Scholar 

  41. Savitch, W.J.: Relationships between nondeterministic and deterministic tape complexities. Journal of Computer and System Sciences, 4, 2 (1970), 177–192.

    Article  MathSciNet  MATH  Google Scholar 

  42. Savitch, W.J.: How to make arbitrary grammars look like context-free grammars. SIAM Journal of Computing, 2, 3 (1973), 174–182.

    Article  MathSciNet  MATH  Google Scholar 

  43. Szelepcsényi, R.: The method of forced enumeration for nondeterministic automata. Acta Informatica, 26 (1988), 279–284.

    Article  MathSciNet  MATH  Google Scholar 

  44. Thue, A.: Probleme über Veränderungen von Zeichenreihen nach gegebenen Regeln. Skrifter utgit av Videnskapsselskapet i Kristiania I, 10, (1914), 34 pp.

    Google Scholar 

  45. Turakainen, P.: A unified approach to characterizations of recursively enumerable languages. Bulletin of the EATCS, 45 (1991), 223–228.

    MATH  Google Scholar 

  46. Turing, A.M.: On computable numbers with an application to the Entscheidungsproblem. Proc. London Math. Soc., 2, 42 (1936), 230–265. A correction, ibid., 43 (1937), 544–546.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Mateescu, A. (2004). On Context-Sensitive Grammars. In: Martín-Vide, C., Mitrana, V., Păun, G. (eds) Formal Languages and Applications. Studies in Fuzziness and Soft Computing, vol 148. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-39886-8_7

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-39886-8_7

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-53554-3

  • Online ISBN: 978-3-540-39886-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics