Skip to main content

Migrating Insurance Calculation Rule Descriptions from Word to MPS

  • Chapter
  • First Online:
Domain-Specific Languages in Practice

Abstract

Zurich Insurance used to specify their calculation rules in form-based prose and pseudo-code, which was subsequently implemented by an external party. The resulting long turnaround time seriously affected Zurich’s time-to-market. Zurich and itemis replaced these specifications with the FuMo DSL. Its productive usage has been ongoing for more than 2 years now.

Due to MPS’ projectional editor, the DSL closely resembles both the previous forms and the well-known pseudo-code. The language’s generator removed the external party from the development round-trip. Consequently, the turnaround time went down by several orders of magnitude.

This project imported existing calculation rules from their C implementation and lifted them to FuMo DSL. We hid the complexity of C while lifting, so the end-users can focus on domain aspects. MPS’ language integration enabled a clean design of the FuMo DSL, while edge cases could be handled with special concepts or in embedded C blocks.

We split the import process into small steps that could be validated independently. We assured all steps could be executed by the development team. By annotating the execution with trace logging and comparing the trace logs of the original source code with the generated one, we could handle large batches of similar import issues efficiently.

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
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.00
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

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. CollabNet Inc., et. al.: Apache Subversion (2021). https://subversion.apache.org/

  2. Grosche, A., Igel, B., Spinczyk, O.: Exploiting modular language extensions in legacy c code: An automotive case study. In: I. Schaefer, D. Karagiannis, A. Vogelsang, D. Méndez, C. Seidl (eds.) Modellierung 2018, pp. 103–118. Gesellschaft für Informatik e.V., Bonn (2018)

    Google Scholar 

  3. itemis AG: MPS Extensions (2021). https://www.itemis.com/

  4. itemis AG, et. al.: mbeddr (2021). http://mbeddr.com/

  5. itemis AG, et. al.: mbeddr Platform (2021). http://mbeddr.com/platform.html

  6. JetBrains s.r.o., et. al.: MPS Extensions (2021). https://jetbrains.github.io/MPS-extensions/

  7. Pilato, C.M., Collins-Sussman, B., Fitzpatrick, B.W.: Version control with subversion: next generation open source version control. O’Reilly Media, Inc. (2008)

    Google Scholar 

  8. Tomassetti, F., Ratiu, D.: Extracting variability from c and lifting it to mbeddr. In: Proceedings of the International Workshop on Reverse Variability Engineering (2013)

    Google Scholar 

  9. Voelter, M.: Integrating prose as first-class citizens with models and code. In: MPM@ MoDELS, pp. 17–26. Citeseer (2013)

    Google Scholar 

  10. Voelter, M., Ratiu, D., Schaetz, B., Kolb, B.: mbeddr: an extensible c-based programming language and ide for embedded systems. In: Proceedings of the 3rd Annual Conference on Systems, Programming, and Applications: Software for Humanity, pp. 121–140 (2012)

    Google Scholar 

  11. Zürich Beteiligungs-Aktiengesellschaft (Deutschland): Zurich Versicherung (2021). https://www.zurich.de/

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Niko Stotz .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Stotz, N., Birken, K. (2021). Migrating Insurance Calculation Rule Descriptions from Word to MPS. In: Bucchiarone, A., Cicchetti, A., Ciccozzi, F., Pierantonio, A. (eds) Domain-Specific Languages in Practice. Springer, Cham. https://doi.org/10.1007/978-3-030-73758-0_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-73758-0_6

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-73757-3

  • Online ISBN: 978-3-030-73758-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics