Machines for attribute grammars (Q3753513)
From MaRDI portal
!
This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:
scientific article; zbMATH DE number 3990902
| Language | Label | Description | Also known as |
|---|---|---|---|
| default for all languages | No label defined |
||
| English | Machines for attribute grammars |
scientific article; zbMATH DE number 3990902 |
Statements
Machines for attribute grammars (English)
0 references
1986
0 references
string translation
0 references
tree translation
0 references
semantics
0 references
parse tree
0 references
attribute grammars
0 references
attribute evaluation
0 references
pushdown transducers
0 references
0.9157326
0 references
0 references
0.9021175
0 references
0.89867514
0 references
0 references
In designing a compiler for a given programming language one can use a context free grammar describing the syntax of the language and an attribute grammar (AG) for describing the semantics. The evaluation of the attribute of the nodes of the constructed parse tree is the subject of many recent works. In the present paper the author introduces two automata models that play, with respect to attribute grammars and attribute evaluation for them, the same role as pushdown automata play for context free grammars. The paper begins with a survey on AG, giving the basic definitions, properties, and results on AG, attribute evaluation, and existing automata for AG's (pushdown assembler, pushdown processor, attributed pushdown machines). The temporary (permanent) register pushdown transducers (TRT, PRT) are defined. In the second section the relations among the classes of string- and tree-translations defined by AG, TRT, PRT are found and a new class of AG, called flags-AG is introduced. Next section is dedicated to the study of the transformation of PRT computations. Based on this in the 4th section there are proved the tree- equivalence between one PRT and flags-AG, and string-equivalence of one- PRT, flags-AG and AG, respectively. The formal power of the models introduced in the paper is studied in the next section and, finally, some concluding remarks and further works are presented.
0 references