Skip to main content

Embedded Software Development with Projectional Language Workbenches

  • Conference paper
Model Driven Engineering Languages and Systems (MODELS 2010)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 6395))

Abstract

This paper describes a novel approach to embedded software development. Instead of using a combination of C code and modeling tools, we propose an approach where modeling and programming is unified using projectional language workbenches. These allow the incremental, domain-specific extension of C and a seamless integration between the various concerns of an embedded system. The paper does not propose specific extensions to C in the hope that everybody will use them; rather, the paper illustrates the benefits of domain specific extension using projectional editors. In the paper we describe the problems with the traditional approach to embedded software development and how the proposed approach can solve them. The main part of the paper describes our modular embedded language, a proof-of-concept implementation of the approach based on JetBrains MPS. We implemented a set of language extensions for embedded programming, such as state machines, tasks, type system extensions as well as a domain specific language (DSL) for robot control. The language modules are seamlessly integrated, leading to a very efficient way for implementing embedded software.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. MISRA Group, Misra-C, http://www.misra-c2.com/

  2. Wikipedia, State Machines, http://en.wikipedia.org/wiki/Finite-state_machine

  3. National Instruments, Block Diagram Data Flow, http://zone.ni.com/reference/en-XX/help/371361B-01/lvconcepts/block_diagram_data_flow/

  4. ATESST Consortium, EAST ADL Specification, http://www.atesst.org/home/liblocal/docs/EAST-ADL-2.0-Specification_2008-02-29.pdf

  5. AUTOSAR Partnership, Automotive Open System Architecture, http://www.autosar.org/

  6. Fowler, M.: Language Workbenches: The Killer-App for Domain Specific Languages? http://martinfowler.com/articles/languageWorkbench.html

  7. Wikipedia, View Model, http://en.wikipedia.org/wiki/View_model

  8. Wikipedia, Traceability, http://en.wikipedia.org/wiki/Requirements_traceability

  9. Eisenecker, U., Czarnecki, K.: Generative Programming. Addison-Wesley, Reading (2000)

    MATH  Google Scholar 

  10. JetBrains, Meta Programming System, http://jetbrains.com/mps

  11. Voelter, M., Solomatov, K.: Language Modularization and Composition with Projectional Language Workbenches illustrated w/ MPS. In: SLE 2010 (submitted 2010)

    Google Scholar 

  12. Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1994)

    MATH  Google Scholar 

  13. Lego, Mindstorms, http://mindstorms.lego.com

  14. Sourceforge.net, nxtOSEK, http://lejos-OSEK.sourceforge.net/

  15. Voelter, M.: Product Line Engineering with Projectional Language Workbenches. In: GPCE 2010 (submitted 2010)

    Google Scholar 

  16. Visser, E.: Syntax Definition, http://swerl.tudelft.nl/bin/view/EelcoVisser/SyntaxDefinition

  17. Software Engineering Group at RWTH Aache, Project MontiCore, http://monticore.de/

  18. Open SystemC Initiative, SystemC, http://www.systemc.org/

  19. Modelica Association, Modelica, http://modelica.org/

  20. The MathWorks, Matlab - the language of technical computing, http://www.mathworks.com/products/matlab/

  21. Esterel Technologies, SCADE, http://www.esterel-technologies.com/products/scade-suite/

  22. Gay, D., Levis, P., von Behren, R., Welsh, M., Brewer, E., Culler, D.: The nesC language. ACM SIGPLAN Notices 38(5) (May 2003)

    Google Scholar 

  23. Fowler, M.: Domain Specific Languages, http://www.martinfowler.com/bliki/DomainSpecificLanguage.html

  24. Neema, S., Karsai, G., Vizhanyo, A.: Embedded Control Systems, Language for Distributed Processing (ECSL-DP), http://www.omg.org/news/meetings/workshops/MIC_2004_Manual/06-1_Neema_etal.pdf

  25. Intentional Software, Intentional Domain Workbench, http://intentsoft.com

  26. Kästner, C., Thüm, T., Saake, G., Feigenspan, J., Leich, T., Wielgorz, F., Apel, S.: FeatureIDE: Tool Framework for Feature-Oriented Software Development. In: Proceedings of ICSE 2009 (2009), Formal Demonstration Paper

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Voelter, M. (2010). Embedded Software Development with Projectional Language Workbenches. In: Petriu, D.C., Rouquette, N., Haugen, Ø. (eds) Model Driven Engineering Languages and Systems. MODELS 2010. Lecture Notes in Computer Science, vol 6395. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-16129-2_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-16129-2_4

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-16128-5

  • Online ISBN: 978-3-642-16129-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics