DocumentCode :
2722125
Title :
Bottom-up evaluation of attribute grammars with two queues
Author :
Naini, Majid Mojtabavi
Author_Institution :
Dept. of Electr. & Comput. Eng., Florida Atlantic Univ., Boca Raton, FL, USA
fYear :
1988
fDate :
0-0 1988
Firstpage :
628
Lastpage :
633
Abstract :
The author presents a bottom-up evaluator for attribute grammars. Attribute grammars are among the best formalisms to specify the translation and semantics of the programming languages. The evaluator presented accomplishes the attribute evaluation in only one bottom-up pass, using two FIFO queues. The first queue holds the leaf attributes with known values the attribute queue. The reverse dependency graph shows the dependency of the attributes on each other and the other in which they are evaluated. These attributes give their values to their predecessor attributes. A predecessor attribute needs these values in order to be evaluated. The second queue holds the predecessor attributes of the first queue and is called the predecessor queue.<>
Keywords :
context-free grammars; graph theory; queueing theory; FIFO queues; attribute grammars; bottom up evaluation; context free grammar; predecessor queue; programming languages; reverse dependency graph; semantics; translation; Computer languages; Counting circuits; Equations; Performance evaluation; Production systems;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
System Theory, 1988., Proceedings of the Twentieth Southeastern Symposium on
Conference_Location :
Charlotte, NC, USA
ISSN :
0094-2898
Print_ISBN :
0-8186-0847-1
Type :
conf
DOI :
10.1109/SSST.1988.17125
Filename :
17125
Link To Document :
بازگشت