Download PDFOpen PDF in browser

Closing the Gap Between Specification and Programming: VDM++ and Scala

24 pagesPublished: February 12, 2014

Abstract

We argue that a modern programming language such as Scala offers a level of succinctness, which makes it suitable for program and systems specification as well as for high-level programming. We illustrate this by comparing the language with the VDM++ specification language. The comparison also identifies areas where Scala perhaps could be improved, inspired by VDM++. We furthermore illustrate Scala's potential as a specification language by augmenting it with
a combination of parameterized state machines and temporal logic, defined as a library, thereby forming an expressive but simple runtime verification framework.

In: Andrei Voronkov and Margarita Korovina (editors). HOWARD-60. A Festschrift on the Occasion of Howard Barringer's 60th Birthday, vol 42, pages 210-233.

BibTeX entry
@inproceedings{HOWARD-60:Closing_Gap_Between_Specification,
  author    = {Klaus Havelund},
  title     = {Closing the Gap Between Specification and Programming: VDM++ and Scala},
  booktitle = {HOWARD-60. A Festschrift on the Occasion of Howard Barringer's 60th Birthday},
  editor    = {Andrei Voronkov and Margarita Korovina},
  series    = {EPiC Series in Computing},
  volume    = {42},
  publisher = {EasyChair},
  bibsource = {EasyChair, https://easychair.org},
  issn      = {2398-7340},
  url       = {/publications/paper/nzg},
  doi       = {10.29007/2w2f},
  pages     = {210-233},
  year      = {2014}}
Download PDFOpen PDF in browser