The Community for Technology Leaders
Green Image
Issue No. 03 - May/June (2011 vol. 28)
ISSN: 0740-7459
pp: 68-74
Görel Hedin , Lund University, Sweden
Johan Åkesson , Lund University, Sweden
Combining attribute grammars with object-oriented programming supports a new kind of declarative programming, letting developers build compilers in a highly extensible manner. By leveraging a base compiler, extended languages can be supported at a relatively low cost. Recent work shows the applicability of the technique to general-purpose programming languages such as Java. In this article, the authors illustrate the approach using a case study for domain-specific languages. They built an extensible compiler for the physical systems modeling language Modelica and leveraged it to support a new extended language, Optimica.
reusable software, design tools, design techniques, formal definitions, formal theory, processors

J. Åkesson, T. Ekman and G. Hedin, "Extending Languages by Leveraging Compilers: From Modelica to Optimica," in IEEE Software, vol. 28, no. , pp. 68-74, 2010.
92 ms
(Ver 3.3 (11022016))