Skip to main content

An iteration theorem for simple precedence languages

Extended abstract

  • Conference paper
  • First Online:
  • 474 Accesses

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

Abstract

We have obtained powerful and reasonably general tools for proving that languages are not simple precedence when that is the case. We have also been able to give a systematic way of producing simple precedence grammars in certain situations.

An extension of the precedence relations between two symbols is obtained by defining precedence relations between strings of length m and n (cf [AU1]). Thus the family of uniquely invertible (m,n) precedence languages is obtained. Our iteration theorem may be generalized to deal with uniquely invertible (1,k) precedence languages, and using it we determine that all the languages proved in the literature to be non-SPL are not uniquely invertible (1,k) precedence for any k ⩾ 1. This is particularly interesting since it is not known if the families of uniquely invertible (1,k) precedence languages form a hierarchy [AU2,S]. (Note that uniquely invertible (2,1) precedence languages coincide with the deterministic languages [G].) Details of this generalization, as well as additional comments, may be found in the full text [KY].

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

Buying options

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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. A.V. Aho and J.D. Ullman, The theory of parsing, translation and compiling, Prentice-Hall, Vol. I, 1972.

    Google Scholar 

  2. A.V. Aho and J.D. Ullman, The theory of parsing, translation and compiling, Prentice-Hall, Vol. II, 1973.

    Google Scholar 

  3. J.C. Beatty, Two iteration theorems for the LL(k) languages, TCS 12 (1980), 193–228.

    Article  MathSciNet  Google Scholar 

  4. L. Boasson, Two iteration theorems for some families of languages, JCSS 7 (1973), 583–596.

    MathSciNet  MATH  Google Scholar 

  5. Y. Bar-Hillel, M. Perles and E. Shamir, On formal properties of simple phrase structure grammars, Z. Phonetik Sprachwiss. Kommunikat. 14 (1961), 143–172.

    MathSciNet  MATH  Google Scholar 

  6. M.J. Fischer, Some properties of precedence languages, proceedings of 1st STOC, 1969, 181–190.

    Google Scholar 

  7. R.W. Floyd, Syntactic analysis and operator precedence, JACM 10 (1963), 316–333.

    Article  Google Scholar 

  8. S.L. Graham, Extended precedence languages, bounded right context languages and deterministic languages, IEEE Conf. record of the 11th Annual Symposium on Switching and Automata Theory (1970), 175–180.

    Google Scholar 

  9. M.A. Harrison, Introduction to formal language theory, Addison-Wesley, 1978.

    Google Scholar 

  10. M.A. Harrison and I.M. Havel, On the parsing of deterministic languages, JACM 21 (1974), 525–548.

    Article  MathSciNet  Google Scholar 

  11. K.N. King, Iteration theorems for families of strict deterministic languages, TCS 10 (1980), 317–333.

    Article  MathSciNet  Google Scholar 

  12. Y. Krevner and A. Yehudai, An iteration theorem for simple precedence languages, submitted for publication.

    Google Scholar 

  13. W.F. Ogden, Intercalation theorems for pushdown store and stack languages, Ph.D. Thesis, Stanford University, 1968.

    Google Scholar 

  14. W.F. Ogden, A helpful result for proving inherent ambiguity, Math. Systems Theory 2 (1968), 191–194.

    Article  MathSciNet  Google Scholar 

  15. D.J. Rosenkrantz, P.M. Lewis III and R.E. Stearns, A simple language which is not a precedence language, unpublished manuscript (1968).

    Google Scholar 

  16. I.H. Sudborough, private communication, 1979.

    Google Scholar 

  17. N. Wirth and H. Weber, Euler-a generalization of ALGOL and its formal definition, part I, CACM 9 (1966), 13–23.

    Article  Google Scholar 

  18. A. Yehudai, A new definition for simple precedence grammars, BIT 19 (1979), 282–284.

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Mogens Nielsen Erik Meineche Schmidt

Rights and permissions

Reprints and permissions

Copyright information

© 1982 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Krevner, Y., Yehudai, A. (1982). An iteration theorem for simple precedence languages. In: Nielsen, M., Schmidt, E.M. (eds) Automata, Languages and Programming. ICALP 1982. Lecture Notes in Computer Science, vol 140. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0012783

Download citation

  • DOI: https://doi.org/10.1007/BFb0012783

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-11576-2

  • Online ISBN: 978-3-540-39308-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics