Multi-plan attribute grammars

Wuu Yang*

*Corresponding author for this work

Research output: Contribution to conferencePaperpeer-review

Abstract

We identify a new class of non-circular attribute grammars, called the multi-plan attribute grammars, for which static evaluation plans can be computed. The class of multi-plan attribute grammars is larger than all currently known classes of non-circular attribute grammars with static evaluation plans. The decision procedure and the procedure for computing evaluation plans take essentially polynomial time under a new, more practical criterion (but the procedures still take exponential time based on the traditional criterion). The multi-plan attribute grammars lead to a new way to classify well-defined attribute grammars into a hierarchy based on the look-ahead behavior of the evaluators. Our work confirms a result of Riis and Skyum, which says that all well-defined attribute grammars can be evaluated with static evaluators.

Original languageEnglish
Pages62-71
Number of pages10
DOIs
StatePublished - 5 Dec 1997
EventProceedings of the 1997 Asia-Pacific Software Engineering Conference and International Computer Science Conference, APSEC'97 and ICSC'97 - Hong Kong, Hong Kong
Duration: 2 Dec 19975 Dec 1997

Conference

ConferenceProceedings of the 1997 Asia-Pacific Software Engineering Conference and International Computer Science Conference, APSEC'97 and ICSC'97
CityHong Kong, Hong Kong
Period2/12/975/12/97

Fingerprint

Dive into the research topics of 'Multi-plan attribute grammars'. Together they form a unique fingerprint.

Cite this