liu.seSearch for publications in DiVA
Change search
ReferencesLink to record
Permanent link

Direct link
A Template-Based Code Generator for the OpenModelica Compiler
Linköping University, Department of Computer and Information Science.
2010 (English)Independent thesis Advanced level (professional degree), 20 credits / 30 HE creditsStudent thesis
Abstract [en]

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.

Place, publisher, year, edition, pages
2010. , 50 p.
Keyword [en]
Compiler, OpenModelica, Code Generator, Template Language
National Category
Engineering and Technology
URN: urn:nbn:se:liu:diva-54463ISRN: LIU-IDA/LITH-EX-A--10/006--SEOAI: diva2:304106
Subject / course
Master's programme in Computer Science
2010-03-02, John von Neumann, Linköpings Universitet, Linköping, 14:00 (English)
Available from: 2010-03-17 Created: 2010-03-17 Last updated: 2011-11-29Bibliographically approved

Open Access in DiVA

fulltext(1458 kB)309 downloads
File information
File name FULLTEXT01.pdfFile size 1458 kBChecksum SHA-512
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Lindberg, Rickard
By organisation
Department of Computer and Information Science
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 309 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

Total: 696 hits
ReferencesLink to record
Permanent link

Direct link