Reusable langauge specifications in JastAdd II
In: Evolution and Reuse of Language Specifications for DSLs (ERLS), 2004.
Authors: Torbjörn Ekman, Görel Hedin
Abstract
This paper discusses how to build domain specific languages (DSL) on top of a general purpose language using our language implementation tool JastAdd II. The specification formalist in JastAdd II is based on ReRAGs (Rewritable Reference Attributed Grammars) that combine object-oriented abstract grammars, static aspect-oriented programming, reference attributed grammars, and conditional rewriting. The technique is illustrated by evolving a matrix framework into new language constructs that are added on top of Java. The extension is done in a modular way and re-uses large part of the static semantic analysis from the base grammar.
(PDF)
BIBTEX:
@inproceedings{ekman04,
author = "Ekman, {Torbj\"{o}rn} and Hedin, {G\"{o}rel}",
title = "Reusable language specifications in {JastAdd II}",
booktitle = "Evolution and Reuse of Language Specifications for {DSLs}
{(ERLS)}",
editor = "Cleenewerck, Thomas",
year = "2004",
note = "Available from: \url{http://prog.vub.ac.be/~thomas/ERLS/Ekman.pdf}"
}