A Template-Based Code Generator for the OpenModelica Compiler

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...

Full description

Bibliographic Details
Main Author: Lindberg, Rickard
Format: Others
Language:English
Published: Linköpings universitet, Institutionen för datavetenskap 2010
Subjects:
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-54463
id ndltd-UPSALLA1-oai-DiVA.org-liu-54463
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-liu-544632013-01-08T13:51:07ZA Template-Based Code Generator for the OpenModelica CompilerengLindberg, RickardLinköpings universitet, Institutionen för datavetenskap2010CompilerOpenModelicaCode GeneratorTemplate LanguageTECHNOLOGYTEKNIKVETENSKAPA 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. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-54463application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
topic Compiler
OpenModelica
Code Generator
Template Language
TECHNOLOGY
TEKNIKVETENSKAP
spellingShingle Compiler
OpenModelica
Code Generator
Template Language
TECHNOLOGY
TEKNIKVETENSKAP
Lindberg, Rickard
A Template-Based Code Generator for the OpenModelica Compiler
description 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.
author Lindberg, Rickard
author_facet Lindberg, Rickard
author_sort Lindberg, Rickard
title A Template-Based Code Generator for the OpenModelica Compiler
title_short A Template-Based Code Generator for the OpenModelica Compiler
title_full A Template-Based Code Generator for the OpenModelica Compiler
title_fullStr A Template-Based Code Generator for the OpenModelica Compiler
title_full_unstemmed A Template-Based Code Generator for the OpenModelica Compiler
title_sort a template-based code generator for the openmodelica compiler
publisher Linköpings universitet, Institutionen för datavetenskap
publishDate 2010
url http://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-54463
work_keys_str_mv AT lindbergrickard atemplatebasedcodegeneratorfortheopenmodelicacompiler
_version_ 1716530411328241664