To main content

ThingML: a language and code generation framework for heterogeneous targets

Abstract

One of the selling points of Model-Driven Software Engineering (MDSE) is the increase in productivity offered by automatically generating code from models. However, the practical adoption of code generation remains relatively slow and limited to niche applications. Tooling issues are often pointed out but more fundamentally, experience shows that: (i) models and modeling languages used for other purposes are not necessarily well suited for code generation and (ii) code generators are often seen as black-boxes which are not easy to trust and produce sub-optimal code. This paper presents and discusses our experiences applying the ThingML approach to different domains. ThingML includes a modeling language and tool designed for supporting code generation and a highly customizable multi-platform code generation framework. The approach is implemented in an open-source tool providing a family of code generators targeting heterogeneous platforms. It has been evaluated through several case studies and is being used for in the development of a commercial ambient assisted living system.

Category

Academic chapter/article/Conference paper

Language

English

Author(s)

  • Nicolas Harrand
  • Franck Fleurey
  • Brice Morin
  • Knut Eilif Husa

Affiliation

  • SINTEF Digital / Sustainable Communication Technologies
  • Tellus Software AS

Year

2016

Publisher

Association for Computing Machinery (ACM)

Book

MODELS '16: Proceedings of the ACM/IEEE 19th International Conference on Model Driven Engineering Languages and Systems

ISBN

978-1-4503-4321-3

Page(s)

125 - 135

View this publication at Cristin