Title :
On the Appropriateness of Domain-Specific Languages Derived from Different Metamodels
Author :
Roanc, Igor ; Slivnik, Botjan
Author_Institution :
Fac. of Comput. & Inf. Sci., Univ. of Ljubljana, Ljubljana, Slovenia
Abstract :
In model-driven development domain-specific languages (DSL) are often considered models while the description of DSLs are expressed using various metamodels. To estimate the influence of a metamodel on the quality of DSLs derived from it, it is appropriate to measure functional suitability. As defined by the standard ISO/IEC 25010 (SQuaRE), functional suitability consists of completeness, correctness, and appropriateness. Among these issues, only appropriateness can be evaluated without specifying the domain. This paper is a study of a relationship between (a) the metamodel´s expressive power regarding the syntax of the DSLs derived from the metamodel and (b) the appropriateness of those DSLs. In this regard two metrics are defined. The first metric evaluates a metamodel and produces the estimation of the derived DSLs´ appropriateness. The second metric incorporates the domain and further assesses the quality of a DSL in terms of appropriateness. Both metrics are based on abstract syntax trees of programs written in the derived DSLs, and demonstrated using examples on two different domains.
Keywords :
IEC standards; ISO standards; software standards; specification languages; DSL appropriateness; DSL completeness; DSL correctness; DSL quality; DSL syntax; ISO/IEC 25010 standard; SQuaRE; abstract syntax trees; domain-specific languages; functional suitability; metamodel; model-driven development; Abstracts; DSL; Measurement; Programming; Semantics; Syntactics; Unified modeling language; domain-specific languages; metamodel quality; model-driven development; quality metrics;
Conference_Titel :
Quality of Information and Communications Technology (QUATIC), 2014 9th International Conference on the
Conference_Location :
Guimaraes
Print_ISBN :
978-1-4799-6132-0
DOI :
10.1109/QUATIC.2014.33