Proceedings of the ACM SIGPLAN 1989 Conference on Programming Language Design and Implementation 1989
DOI: 10.1145/73141.74830
|View full text |Cite
|
Sign up to set email alerts
|

Higher order attribute grammars

Abstract: A new kind of attribute grammars, called higher order attribute grammars, is defined. In higher order attribute grammars the structure tree can be expanded as a result of attribute computation. A structure tree may be stored in an attribute. The term higher order is used because of the analogy with higher order functions, where a function can be the result or parameter of another function. A relatively simple method, using OAGs, is described to derive an evaluation order on the defining attribute occurrences w… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
53
0

Year Published

1996
1996
2014
2014

Publication Types

Select...
6
3
1

Relationship

0
10

Authors

Journals

citations
Cited by 121 publications
(54 citation statements)
references
References 6 publications
0
53
0
Order By: Relevance
“…The synthetic nodes are constructed using the attribute grammar mechanism of non-terminal attributes (NTAs) [40], i.e., attributes whose values are new AST children. In JastAddJ, all attributes are computed automatically by the attribute grammar evaluator, and on demand, constructing only the synthetic decorating nodes that are needed for a particular program.…”
Section: Methodsmentioning
confidence: 99%
“…The synthetic nodes are constructed using the attribute grammar mechanism of non-terminal attributes (NTAs) [40], i.e., attributes whose values are new AST children. In JastAddJ, all attributes are computed automatically by the attribute grammar evaluator, and on demand, constructing only the synthetic decorating nodes that are needed for a particular program.…”
Section: Methodsmentioning
confidence: 99%
“…For lazyEval, we need some special behavior: in that case, a coroutine resumes and runs immediately towards its end. It 8 Alternatively, the additional nonterminal can be specified as a higher-order attribute using Higher-Order AGs [25] (supported by UUAG), which has the advantage that it is not externally visible in the grammar. 9 Actually, the Progress nonterminal can be implemented using a merge-rule (Appendix A).…”
Section: Hybrid On-demand and Stepwise Evaluationmentioning
confidence: 99%
“…The PROTOS project [17,18] at Oulu University uses a higher order attribute grammar [31] to both decode the protocol data and to generate test sets. A grammar structure is instantiated to make a concrete data set that is used for the test.…”
Section: Related Workmentioning
confidence: 99%