Nothing Special   »   [go: up one dir, main page]

skip to main content
article
Open access

A worst case of circularity test algorithms for attribute grammars

Published: 01 March 1995 Publication History

Abstract

Although the circularity test problem for attribute grammars (AGs) has been proven to be intrinsically exponential, to date, a worst case for the existing circularity test algorithms has yet to be presented. This note presents a worst-case AG in which the number of incomparable dependency graphs induced at the root is exponential. The worst case can help to clarify the complexity of the problem.

References

[1]
DERANSART, P., JOURDAN, M., AND LORHO, B. 1984. Speeding up circularity tests for attribute grammars. Acta Informatica 21,375-391.
[2]
DILL, J.M. 1989. A counterexample for "A Simpler Construction for Showing the Intrinsically Exponential Complexity of the Circularity Problem for Attribute Grammars." J. ACM 36, 1 (Jan.), 92-96.
[3]
JAZAYERI, M. 1981. A simple construction for showing the intrinsically exponential complexity of the circularity problem for attribute grammars. J. ACM 28, 4 (Oct.), 715-720.
[4]
JAZAYERI, M., OGDEN, W. F., AND ROUNDS, W.C. 1975. The intrinsically exponential complexity of the circularity problem for attribute grammars. Commun. ACM 18, 12 (Dec.), 697-706.
[5]
KNUTH, D.E. 1968. Semantics of context-free languages. Math. Syst. Theory 2, 2, 127-145. Correction: Mathematical Systems Theory, Vol. 5, No. 1, 1971, pp. 95-96.
[6]
RAIHA, K.-J. AND SAARINEN, M. 1982. Testing attribute grammars for circularity. Acta Informatica 17, 185-192.

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Transactions on Programming Languages and Systems
ACM Transactions on Programming Languages and Systems  Volume 17, Issue 2
March 1995
249 pages
ISSN:0164-0925
EISSN:1558-4593
DOI:10.1145/201059
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 March 1995
Published in TOPLAS Volume 17, Issue 2

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. attribute grammars
  2. circularity test
  3. dependency graphs

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 302
    Total Downloads
  • Downloads (Last 12 months)57
  • Downloads (Last 6 weeks)13
Reflects downloads up to 16 Feb 2025

Other Metrics

Citations

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Full Access

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media