Development of a Modelica Compiler Using JastAdd
Electronic Notes in Theoretical Computer Science, 203(2):117-131, Elsevier, 2008
Authors: Johan Åkesson, Torbjörn Ekman, Görel Hedin
Abstract
This paper describes experiences from implementing key parts of a compiler for Modelica, an object-oriented language supporting declarative modeling and simulation of complex physical systems. Our implementation uses the attribute-grammar based tool JastAdd. In particular, we discuss the implementation of Modelica name analysis which is highly context-dependent, type analysis which is based on structural subtyping, a new approach to flattening which is a fundamental part of the Modelica compilation process.
(PDF)
BIBTEX:
@article{ldta07modelica,
author = {Johan {\AA}kesson and Torbj{\"o}rn Ekman and G{\"o}rel Hedin},
title = "{Development of a Modelica Compiler Using JastAdd}",
journal = {Electron. Notes Theor. Comput. Sci.},
volume = {203},
number = {2},
year = {2008},
pages = {117--131},
publisher = {Elsevier Science Publishers B. V.},
}