skip to main content
article
Free Access

Preservation of unambiguity and inherent ambiguity in context-free languages

Published:01 July 1966Publication History
Skip Abstract Section

Abstract

Various elementary operations are studied to find whether they preserve on ambiguity and inherent ambiguity of language (“language” means “context-free language”) The following results are established:

  • If L is an unambiguous language and S is a generalized sequential machine, then (a) S(L) is an unambiguous language if S is one-to-one on L, and (b) S-1(L) is an unambiguous language.

  • Inherent ambiguity is preserved by every generalized sequential machine which is one-to-one on the set of all words.

  • The product (either left or right) of a language and a word preserves both unambiguity and inherent ambiguity.

  • Neither unambiguity nor inherent ambiguity is preserved by any of the following language preserving operations: (a) one state complete sequential machine; (b) product by a two-element set; (c) Init(L) = [u ≠ dur in L for some v]; (d) Subw(L) = [w ≠ durr in L for some u, v].

References

  1. 1 CHrOMSK, N., AND MILLI, G.A. Finite .tate lnguages. Inf. Contr. I (1958), 91-112.Google ScholarGoogle Scholar
  2. 2 ---- AND SCnSZENBE(R, M. P. The algebraic theory of context-free languages. Computer Programmincj and Formal Sysem, Y. Braffort and D. Hirschberg (Eds.), Norb,- ttoliand Publishing Co., Amsterdam, 1963, pp. 118-161.Google ScholarGoogle Scholar
  3. 3 EIGoT, C. DccisioI problems of finite utomata design and related problems. Tranz. Am Math. Soc. 98 (1961), 21-51.Google ScholarGoogle Scholar
  4. 4 GINGNSUG, ., AND ROSE G.F. Operations which preservo definability in languages J. ACM 10 (1963), 175-195. Google ScholarGoogle Scholar
  5. 5 -- aND ULLAN, J. Ambiguity in context-free languages. J. ACM 13 (1966), 6289. Google ScholarGoogle Scholar
  6. 6 HIBBAND, T., AND ULIAN, I. The independence of inherent ambiguity from coplementedness among context-free lnguages. In press, J. ACM. Google ScholarGoogle Scholar
  7. 7 PARIKH, R.J. Language-generating devices. Quart. Prog. Rep. No. 60, Res. Lab. of Elec tronies, Massachusetts Institute of Technology, Jan. 1961, pp- 199-212.Google ScholarGoogle Scholar

Index Terms

  1. Preservation of unambiguity and inherent ambiguity in context-free languages

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    • Published in

      cover image Journal of the ACM
      Journal of the ACM  Volume 13, Issue 3
      July 1966
      153 pages
      ISSN:0004-5411
      EISSN:1557-735X
      DOI:10.1145/321341
      Issue’s Table of Contents

      Copyright © 1966 ACM

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 1 July 1966
      Published in jacm Volume 13, Issue 3

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • article

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader