Pc. Wu et Fj. Wang, A WORST-CASE OF CIRCULARITY TEST ALGORITHMS FOR ATTRIBUTE GRAMMARS, ACM transactions on programming languages and systems, 17(2), 1995, pp. 228-232
Although the circularity test problem for attribute grammars (AGs) has
been proven to be intrinsically exponential, to date, a worst case fo
r the existing circularity test algorithms has yet to be presented. Th
is note presents a worst-case AG in which the number of incomparable d
ependency graphs induced at the root is exponential. The worst case ca
n help to clarify the complexity of the problem.