Exploiting Modular Language Extensions in Legacy C Code: An Automotive Case Study
Zusammenfassung
Model-driven software development using language workbenches like JetBrains MPS provide many advantages compared to traditional software development. Base languages can be incrementally extended to increase the abstractness up to domain-specific languages (DSLs). Changes can be performed more efficiently in problem-oriented language extensions or DSLs, than in a base language. In addition, formal analysis can be performed on abstract models. To benefit from the model-driven approach, non-model-based legacy code has to be reusable and transformable to language extensions and DSLs. For the development of embedded systems, mbeddr provides a C99-like base language and extensions for MPS, such as mathematical symbols and state machines. This paper presents a case study that shows how many legacy C code fragments of three automotive series projects could be replaced by mbeddr language extensions. Furthermore, a proof of concept shows the feasibility of fraction and foreach loop refactorings. This work is a first approach for future language extension refactorings.
- Vollständige Referenz
- BibTeX
Grosche, A., Igel, B. & Spinczyk, O.,
(2018).
Exploiting Modular Language Extensions in Legacy C Code: An Automotive Case Study.
In:
Schaefer, I., Karagiannis, D., Vogelsang, A., Méndez, D. & Seidl, C.
(Hrsg.),
Modellierung 2018.
Bonn:
Gesellschaft für Informatik e.V..
(S. 103-118).
@inproceedings{mci/Grosche2018,
author = {Grosche, Andreas AND Igel, Burkhard AND Spinczyk, Olaf},
title = {Exploiting Modular Language Extensions in Legacy C Code: An Automotive Case Study},
booktitle = {Modellierung 2018},
year = {2018},
editor = {Schaefer, Ina AND Karagiannis, Dimitris AND Vogelsang, Andreas AND Méndez, Daniel AND Seidl, Christoph} ,
pages = { 103-118 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
author = {Grosche, Andreas AND Igel, Burkhard AND Spinczyk, Olaf},
title = {Exploiting Modular Language Extensions in Legacy C Code: An Automotive Case Study},
booktitle = {Modellierung 2018},
year = {2018},
editor = {Schaefer, Ina AND Karagiannis, Dimitris AND Vogelsang, Andreas AND Méndez, Daniel AND Seidl, Christoph} ,
pages = { 103-118 },
publisher = {Gesellschaft für Informatik e.V.},
address = {Bonn}
}
| Dateien | Groesse | Format | Anzeige | |
|---|---|---|---|---|
| modellierung2018-06.pdf | 309.2Kb | Öffnen |
Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Feedback abschicken
Mehr Information
ISBN: 978-3-88579-674-9
ISSN: 1617-5468
Datum: 2018
Sprache:
(en)
(en)
Typ: Text/Conference Paper

