Extending Languages by Leveraging Compilers: from Modelica to Optimica

Görel Hedin, Johan Åkesson, Torbjörn Ekman

Research output: Contribution to journalArticlepeer-review

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.
Original languageEnglish
Pages (from-to)68-74
JournalIEEE Software
Volume28
Issue number3
DOIs
Publication statusPublished - 2011

Subject classification (UKÄ)

  • Computer Sciences
  • Control Engineering

Fingerprint

Dive into the research topics of 'Extending Languages by Leveraging Compilers: from Modelica to Optimica'. Together they form a unique fingerprint.

Cite this