Development of a Modelica Compiler using JastAdd

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

Research output: Chapter in Book/Report/Conference proceedingPaper in conference proceedingpeer-review

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.
Original languageEnglish
Title of host publicationSeventh Workshop on Language Descriptions, Tools and Applications, LDTA 2007
Publication statusPublished - 2007
EventSeventh Workshop on Language Descriptions, Tools and Applications, LDTA 2007 - Braga, Portugal
Duration: 2007 Mar 25 → …

Conference

ConferenceSeventh Workshop on Language Descriptions, Tools and Applications, LDTA 2007
Country/TerritoryPortugal
CityBraga
Period2007/03/25 → …

Subject classification (UKÄ)

  • Control Engineering

Fingerprint

Dive into the research topics of 'Development of a Modelica Compiler using JastAdd'. Together they form a unique fingerprint.

Cite this