Advanced

Extending Languages by Leveraging Compilers: from Modelica to Optimica

Hedin, Görel LU ; Åkesson, Johan LU and Ekman, Torbjörn LU (2011) In IEEE Software 28(3). p.68-74
Abstract
Combining attribute grammars with object-oriented programming supports a new kind of declarative programming, allowing compilers to be built 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 like Java. In this article, we illustrate the approach using a case study for domain-specific languages: An extensible compiler was built for the physical systems modeling language Modelica, and leveraged to support a new extended language, Optimica.
Please use this url to cite or link to this publication:
author
organization
publishing date
type
Contribution to journal
publication status
published
subject
in
IEEE Software
volume
28
issue
3
pages
68 - 74
publisher
IEEE--Institute of Electrical and Electronics Engineers Inc.
external identifiers
  • wos:000289867500015
  • scopus:79955567099
ISSN
0740-7459
DOI
10.1109/MS.2010.62
project
EASE
language
English
LU publication?
yes
id
c5b6d19e-39b6-41e4-a1d6-70a1375ff093 (old id 1689339)
date added to LUP
2010-10-01 11:41:27
date last changed
2017-01-01 06:35:12
@article{c5b6d19e-39b6-41e4-a1d6-70a1375ff093,
  abstract     = {Combining attribute grammars with object-oriented programming supports a new kind of declarative programming, allowing compilers to be built 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 like Java. In this article, we illustrate the approach using a case study for domain-specific languages: An extensible compiler was built for the physical systems modeling language Modelica, and leveraged to support a new extended language, Optimica.},
  author       = {Hedin, Görel and Åkesson, Johan and Ekman, Torbjörn},
  issn         = {0740-7459},
  language     = {eng},
  number       = {3},
  pages        = {68--74},
  publisher    = {IEEE--Institute of Electrical and Electronics Engineers Inc.},
  series       = {IEEE Software},
  title        = {Extending Languages by Leveraging Compilers: from Modelica to Optimica},
  url          = {http://dx.doi.org/10.1109/MS.2010.62},
  volume       = {28},
  year         = {2011},
}