swMATH ID: 1700
Software Authors: Hedin, Görel; Magnusson, Eva
Description: JastAdd – an aspect-oriented compiler construction system. We describe JastAdd, a Java-based system for compiler construction. JastAdd is centered around an object-oriented representation of the abstract syntax tree where reference variables can be used to link together different parts of the tree. JastAdd supports the combination of declarative techniques (using Reference Attributed Grammars) and imperative techniques (using ordinary Java code) in implementing the compiler. The behavior can be modularized into different aspects, e.g. name analysis, type checking, code generation, etc., that are woven together into classes using aspect-oriented programming techniques, providing a safer and more powerful alternative to the Visitor pattern. The JastAdd system is independent of the underlying parsing technology and supports any noncircular dependencies between computations, thereby allowing general multi-pass compilation. The attribute evaluator (optimal recursive evaluation) is implemented very conveniently using Java classes, interfaces, and virtual methods
Homepage: http://jastadd.org/old/research/key-publications
Keywords: Reference attributed grammars; Aspect-oriented programming; Compiler; construction; Visitor pattern; Java
Related Software: Stratego; ANTLR; ASF+SDF; Spoofax; Polyglot; TXL; Haskell; SugarJ; LISA; MontiCore; Ott; Coq; NuSMV; AspectJ; Tom; Cyclone; Hume; Cedalion; Feldspar; mbeddr
Cited in: 17 Publications
Further Publications: http://jastadd.org/old/research/key-publications

Citations by Year