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.
Original language | English |
---|---|
Pages (from-to) | 228-232 |
Number of pages | 5 |
Journal | ACM Transactions on Programming Languages and Systems (TOPLAS) |
Volume | 17 |
Issue number | 2 |
DOIs | |
State | Published - Mar 1995 |
Keywords
- Attribute grammars
- circularity test
- dependency graphs