Skip to content
Free planNo credit card requiredStart writing

dissertation · KTH Publication Database DiVA (KTH Royal Institute of Technology) · 2010

A Template-Based Code Generator for the OpenModelica Compiler

Rickard Lindberg

Cited by 0Open access

Abstract

A new, template-based code generator has been implemented for the OpenModelica compiler. All data needed for target code generation has been collected in a new data structure that is then sent to templates which generate target code based on that data. This simplifies the implementation of the code generator and also makes it possible to write a different set of templates to generate target code in a different language. The new, template-based code generator currently only supports generation of target code for simulating Modelica models. In that scenario it translates models roughly at the same speed as the old code generator.

Cite this paper

APA 7

Lindberg, R. (2010). A Template-Based Code Generator for the OpenModelica Compiler. KTH Publication Database DiVA (KTH Royal Institute of Technology).

MLA 9

Lindberg, Rickard. “A Template-Based Code Generator for the OpenModelica Compiler.” KTH Publication Database DiVA (KTH Royal Institute of Technology), 2010.

Chicago

Lindberg, Rickard. 2010. “A Template-Based Code Generator for the OpenModelica Compiler.” KTH Publication Database DiVA (KTH Royal Institute of Technology).

Harvard

Lindberg, R. (2010) ‘A Template-Based Code Generator for the OpenModelica Compiler’, KTH Publication Database DiVA (KTH Royal Institute of Technology).

BibTeX
@phdthesis{lindberg2010template,
  title = {{A Template-Based Code Generator for the OpenModelica Compiler}},
  author = {Lindberg, Rickard},
  school = {KTH Publication Database DiVA (KTH Royal Institute of Technology)},
  year = {2010}
}

Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.