Extending Languages by Leveraging Compilers: from Modelica to Optimica
Author
Summary, in English
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.
Department/s
Publishing year
2011
Language
English
Pages
68-74
Publication/Series
IEEE Software
Volume
28
Issue
3
Document type
Journal article
Publisher
IEEE - Institute of Electrical and Electronics Engineers Inc.
Topic
- Computer Science
- Control Engineering
Status
Published
Project
- Embedded Applications Software Engineering
Research group
- LCCC
ISBN/ISSN/Other
- ISSN: 0740-7459