DocumentCode
2980672
Title
A new efficient incremental evaluator for attribute grammars allowing conditional semantic equations
Author
Naini, Majid Mojtabavi
Author_Institution
Dept. of Electr. & Comput. Eng., Florida Atlantic Univ., Boca Raton, FL, USA
fYear
1988
fDate
11-13 Apr 1988
Firstpage
386
Lastpage
390
Abstract
The evaluator presented performs a depth-first search of the (static) reverse dependency graph associated with a parse tree, interleaved with the execution of semantic rules. The full compound dependency graph is not constructed. Instead, it is implicitly represented by the semantic tree and the dependency graph of the productions. The semantic rules are precompiled as programs written in intermediate code and called semantic modules. Evaluation is a call-by-need evaluation and it is optimal in the number of attribute instances evaluated
Keywords
grammars; attribute grammars; conditional semantic equations; depth-first search; incremental evaluator; parse tree; reverse dependency graph; semantic modules; Equations; Performance evaluation; Production; Tellurium; Tree graphs;
fLanguage
English
Publisher
ieee
Conference_Titel
Southeastcon '88., IEEE Conference Proceedings
Conference_Location
Knoxville, TN
Type
conf
DOI
10.1109/SECON.1988.194883
Filename
194883
Link To Document