2011
DOI: 10.1007/978-3-642-18023-1_4
|View full text |Cite
|
Sign up to set email alerts
|

An Introductory Tutorial on JastAdd Attribute Grammars

Abstract: Abstract.JastAdd is an open-source system for generating compilers and other language-based tools. Its declarative specification language is based on reference attribute grammars and object-orientation. This allows tools to be implemented as composable extensible modules, as exemplified by JastAddJ, a complete extensible Java compiler. This tutorial gives an introduction to JastAdd and its core attribute grammar mechanisms, and how to use them when solving key problems in building language-based tools. A simpl… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
12
0

Year Published

2012
2012
2020
2020

Publication Types

Select...
3
2
1

Relationship

0
6

Authors

Journals

citations
Cited by 16 publications
(12 citation statements)
references
References 25 publications
0
12
0
Order By: Relevance
“…This extensibility motivates the application of attribute grammars when specifying semantics for language families [19]. A tutorial on JastAdd RAGs and their usage can be found in [20]. Detailed information on how to set up a JastEMF semantics modelling project is available at the JastEMF website.…”
Section: Implementing Static Semantics With Jastemfmentioning
confidence: 99%
“…This extensibility motivates the application of attribute grammars when specifying semantics for language families [19]. A tutorial on JastAdd RAGs and their usage can be found in [20]. Detailed information on how to set up a JastEMF semantics modelling project is available at the JastEMF website.…”
Section: Implementing Static Semantics With Jastemfmentioning
confidence: 99%
“…This substantially simplies name resolution imple-18 mentations. JastAdd [7] is a meta-compilation system for generating language processors relying on RAGs and object orientation. It also supports parametrized attributes to act as functions where the value depends on the given parameters.…”
Section: Related Workmentioning
confidence: 99%
“…It also supports parametrized attributes to act as functions where the value depends on the given parameters. A typical name resolution as seen in [5,7,2] is implemented in lookup attributes parameterised by an identier of use sites, such as variable references. All nodes that can have a variable reference as a child node, such as a method body, then have to provide an equation for performing the lookup.…”
Section: Related Workmentioning
confidence: 99%
“…It provides means to define attribute grammars [8], and introduces the possibility to use aspect-oriented programming (AOP) when constructing a compiler. With aspects, the source files describe a certain behavior or functionality, rather than objects in object-oriented programming (OOP).…”
Section: Jastaddmentioning
confidence: 99%
“…SimForge 8 is another open source toolkit that is abased on OpenModelica. It offers similar features as the JModelica.org IDE and OMEdit.…”
Section: Graphical Modelica Editorsmentioning
confidence: 99%