Abstract
A Domain Specific Language (DSL) focuses on the essential concepts in a certain problem domain, thus abstracting from low-level implementation details. In combination with code generators, DSLs bring software development closer to domain requirements. The development of DSLs usually centers around the grammar and a code generator; there is little attention for the semantics of the DSL. However, a formal semantics is essential for reasoning about specifications in terms of the DSL (i.e., DSL instances). We argue that the semantics should be expressed independent of a code generator. Thus semantic issues can be revealed that could otherwise remain undetected. We also use the semantics to define the conformance of an implementation to a DSL instance, and to automatically test conformance of the (generated) implementation code to a DSL instance. We illustrate our approach using an industrial prototype DSL for collision prevention.
Keywords: Domain Specific Language (DSL); Semantics; Code Generation; Model-based Testing; Conformance Testing
Original language | English |
---|---|
Title of host publication | Software Engineering and Formal Methods (12th International Conference, SEFM 2014, Grenoble, France, September 1-5, 2014. Proceedings) |
Editors | D. Giannakopoulou, G. Salaün |
Place of Publication | Berlin |
Publisher | Springer |
Pages | 81-95 |
ISBN (Print) | 978-3-319-10430-0 |
DOIs | |
Publication status | Published - 2014 |
Event | 12th International Conference on Software Engineering and Formal Methods (SEFM 2014), September 1-5, 2014, Grenoble, France - Grenoble, France Duration: 1 Sept 2014 → 5 Sept 2014 http://sefm2014.inria.fr/ |
Publication series
Name | Lecture Notes in Computer Science |
---|---|
Volume | 8702 |
ISSN (Print) | 0302-9743 |
Conference
Conference | 12th International Conference on Software Engineering and Formal Methods (SEFM 2014), September 1-5, 2014, Grenoble, France |
---|---|
Abbreviated title | SEFM 2014 |
Country/Territory | France |
City | Grenoble |
Period | 1/09/14 → 5/09/14 |
Internet address |