Skip to main content
Log in

On a covering relation for context-free grammars

  • Published:
Acta Informatica Aims and scope Submit manuscript

Summary

Given a grammar for translation or compiling purposes, the structure of the grammar reflects the semantics of the language rather than good properties for parsing the language. Thus the language is often parsed with respect to another grammar which satisfies the property that the derivation trees in the original grammar can be recovered from those of the parsing grammar. ‘Undercover’ is introduced as a new concept for the formal treatment of such grammatical relations and properties of this relation are explored with an emphasis on decidability results and the relationship to existing concepts such as ‘cover’ and ‘Reynolds cover’. Some decidability questions can be related to language theoretic results on inclusion problems for simple deterministic languages.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Aho, A.V., Ullman, J.D.: The Theory of Parsing, Translation, and Compiling. Vols. 1 and 2. Prentice Hall: Englewood Cliffs, N.J., 1972/1973

    Google Scholar 

  2. Greibach, S.A., Friedman, E.P.: Superdeterministic PDAs: a subcase with a decidable inclusion problem. J. Assoc. Comput. Mach. 27, 675–700 (1980)

    Google Scholar 

  3. Hunt III, H.B., Rosenkrantz, D.J.: Complexity of grammatical similarity relations. Proc. Conf. Theor. Comput. Sci. Waterloo 139–145 (1977)

  4. Hunt III, H.B., Rosenkrantz, D.J.: Efficient algorithms for structural similarity of grammars. Conf. Rec. Seventh ACM Symp. Principles of Progr. Lang. 213–219 (1980)

  5. Hunt III, H.B., Rosenkrantz, D.J., Szymanski, T.G.: The covering problem for linear context-free grammars. Theor. Comput. Sci. 2, 361–382 (1977)

    Google Scholar 

  6. Hunt III, H.B., Rosenkrantz, D.J., Szymanski, T.G.: On the equivalence, containment and covering problems for the regular and context-free languages. J. Comput. System Sci. 12, 222–268 (1976)

    Google Scholar 

  7. Korenjak, A.J., Hopcroft, J.E.: Simple deterministic languages. Proc. IEEE 7th Ann. Symp. Switch. Autom. Theory 36–46 (1966)

  8. Nijholt, A.: Context-free Grammars: Covers, Normal Forms, and Parsing. Lecture Notes Comput. Sci. 93, Springer Berlin Heidelberg New York 1980

    Google Scholar 

  9. Reynolds, J.C., Haskell, R.: Grammatical coverings. (unpublished manuscript) 1970

Download references

Author information

Authors and Affiliations

Authors

Additional information

This work was carried out when the first author was visiting the Unit for Computer Science, McMaster University, Hamilton, Ontario, Canada. The work of both authors was supported in part under a Natural Sciences and Engineering Research Council of Canada Grant No. A-7700

Rights and permissions

Reprints and permissions

About this article

Cite this article

Soisalon-Soininen, E., Wood, D. On a covering relation for context-free grammars. Acta Informatica 17, 435–449 (1982). https://doi.org/10.1007/BF00264162

Download citation

  • Received:

  • Issue Date:

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

Keywords

Navigation