Skip to main content

Lund University Publications

LUND UNIVERSITY LIBRARIES

Extending Languages by Leveraging Compilers: from Modelica to Optimica

Hedin, Görel LU orcid ; Å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
; and
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
Embedded Applications Software Engineering
language
English
LU publication?
yes
id
c5b6d19e-39b6-41e4-a1d6-70a1375ff093 (old id 1689339)
date added to LUP
2016-04-01 15:04:24
date last changed
2022-01-28 03:59:38
@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}},
  doi          = {{10.1109/MS.2010.62}},
  volume       = {{28}},
  year         = {{2011}},
}