Formalizing and testing the consistency of DSL transformations. (April 2016)
- Record Type:
- Journal Article
- Title:
- Formalizing and testing the consistency of DSL transformations. (April 2016)
- Main Title:
- Formalizing and testing the consistency of DSL transformations
- Authors:
- Keshishzadeh, Sarmen
Mooij, Arjan - Abstract:
- Abstract A domain specific language (DSL) focuses on the essential concepts in a specific problem domain, and abstracts from low-level implementation details. The development of DSLs usually centers around the meta-model, grammar and code generator, possibly extended with transformations to analysis models. Typically, little attention is given to the formal semantics of the language, whereas this is essential for reasoning about DSL models, and for assessing the correctness of the generated code and analysis models. We argue that the semantics of a DSL should be defined explicitly and independently of any code generator, to avoid all kinds of complexities from low-level implementation details. As the generated analysis models must reflect some of these implementation details, we propose to formalize them separately. To assess the correctness and consistency of the generated code and analysis models in a practical way, we use conformance testing. We extensively illustrate this general approach using specific formalizations for an industrial DSL on collision prevention. We do not aim for a generic semantic model for any DSL, but this specific DSL indicates the potential of a modular semantics to facilitate reuse among DSLs.
- Is Part Of:
- Formal aspects of computing. Volume 28:Number 2(2016)
- Journal:
- Formal aspects of computing
- Issue:
- Volume 28:Number 2(2016)
- Issue Display:
- Volume 28, Issue 2 (2016)
- Year:
- 2016
- Volume:
- 28
- Issue:
- 2
- Issue Sort Value:
- 2016-0028-0002-0000
- Page Start:
- 181
- Page End:
- 206
- Publication Date:
- 2016-04
- Subjects:
- Domain specific language (DSL) -- Semantics -- Code generation -- Conformance testing
Computer science -- Periodicals
004.05 - Journal URLs:
- http://www.springerlink.com/content/0934-5043/ ↗
http://www.springerlink.com/content/1433-299X ↗
http://www.springerlink.com/openurl.asp?genre=journal&issn=0934-5043 ↗
http://www.springer.com/gb/ ↗ - DOI:
- 10.1007/s00165-016-0359-1 ↗
- Languages:
- English
- ISSNs:
- 0934-5043
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - 4008.335800
British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 9987.xml