Skip to main content

Lund University Publications

LUND UNIVERSITY LIBRARIES

Development of a Modelica Compiler using JastAdd

Åkesson, Johan LU ; Ekman, Torbjörn LU and Hedin, Görel LU orcid (2007) Seventh Workshop on Language Descriptions, Tools and Applications, LDTA 2007
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.
Please use this url to cite or link to this publication:
author
; and
organization
publishing date
type
Chapter in Book/Report/Conference proceeding
publication status
published
subject
host publication
Seventh Workshop on Language Descriptions, Tools and Applications, LDTA 2007
conference name
Seventh Workshop on Language Descriptions, Tools and Applications, LDTA 2007
conference location
Braga, Portugal
conference dates
2007-03-25
language
English
LU publication?
yes
id
2f816a5b-bd55-4dff-8d63-7e53dc21fc64 (old id 772771)
date added to LUP
2016-04-04 13:33:35
date last changed
2018-11-21 21:14:46
@inproceedings{2f816a5b-bd55-4dff-8d63-7e53dc21fc64,
  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.}},
  author       = {{Åkesson, Johan and Ekman, Torbjörn and Hedin, Görel}},
  booktitle    = {{Seventh Workshop on Language Descriptions, Tools and Applications, LDTA 2007}},
  language     = {{eng}},
  title        = {{Development of a Modelica Compiler using JastAdd}},
  year         = {{2007}},
}