2007
DOI: 10.1007/978-3-540-73589-2_27
|View full text |Cite
|
Sign up to set email alerts
|

Attribute Grammar-Based Language Extensions for Java

Abstract: This paper describes the ableJ extensible language framework, a tool that allows one to create new domain-adapted languages by importing domain-specific language extensions into an extensible implementation of Java 1.4. Language extensions may define the syntax, semantic analysis, and optimizations of new language constructs. Java and the language extensions are specified as higher-order attribute grammars. We describe several language extensions and their implementation in the framework. For example, one exte… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
60
0

Year Published

2008
2008
2013
2013

Publication Types

Select...
7
2

Relationship

1
8

Authors

Journals

citations
Cited by 53 publications
(60 citation statements)
references
References 27 publications
0
60
0
Order By: Relevance
“…The methodology of defining attributes for nodes in the syntax tree has turned out to be particularly useful for generating compilers, but has also been applied for other kinds of language processors [24]. Recently, two systems based on the attribute grammar methodology have been developed independently which allow for extending the Java language with domain-specific extensions [3,30]. Both supply a definition of the Java language based on attribute grammars, into which language extensions can plug their own attribute definitions.…”
Section: Attribute Grammarsmentioning
confidence: 99%
See 1 more Smart Citation
“…The methodology of defining attributes for nodes in the syntax tree has turned out to be particularly useful for generating compilers, but has also been applied for other kinds of language processors [24]. Recently, two systems based on the attribute grammar methodology have been developed independently which allow for extending the Java language with domain-specific extensions [3,30]. Both supply a definition of the Java language based on attribute grammars, into which language extensions can plug their own attribute definitions.…”
Section: Attribute Grammarsmentioning
confidence: 99%
“…The former problem can be avoided by restricting the class of grammars, while the latter can only be checked at extension composition time [30]. Compositionality furthermore depends on the language extensions to be restricted to local transformations.…”
Section: Attribute Grammarsmentioning
confidence: 99%
“…While context-free grammars can always be combined together to form new contextfree grammars, smaller subclasses related to specific parsing technology (or to the requirement of non-ambiguity) usually do not exhibit this property. Several attempts to provide painless language modularity are known, such as Kiama [26] Silver/Copper [28], language boxes methodology [23], etc. Grammar comparisonlike methods may be potentially useful in supporting safe composition.…”
Section: Matching Algorithmmentioning
confidence: 99%
“…In [33] and [34] the authors describe the realisation of a modular Java compiler using a declarative mechanism for extending the attribution of the abstract syntax tree. Single semantic aspects that crosscut the syntactic structure of the AST can be specified in individual modules.…”
Section: Integrating Semanticsmentioning
confidence: 99%