When and how to develop domain-specific languages

被引:878
|
作者
Mernik, M
Heering, J
Sloane, AM
机构
[1] Univ Maribor, Fac Elect Engn & Comp Sci, SLO-2000 Maribor, Slovenia
[2] CWI, Dept Software Engn, NL-1098 SJ Amsterdam, Netherlands
[3] Macquarie Univ, Dept Comp, Sydney, NSW 2109, Australia
关键词
design; languages; performance; domain-specific language; application language; domain analysis; language development system;
D O I
10.1145/1118890.1118892
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Domain-specific languages (DSLs) are languages tailored to a specific application domain. They offer substantial gains in expressiveness and ease of use compared with general-purpose programming languages in their domain of application. DSL development is hard, requiring both domain knowledge and language development expertise. Few people have both. Not surprisingly, the decision to develop a DSL is often postponed indefinitely, if considered at all, and most DSLs never get beyond the application library stage. Although many articles have been written on the development of particular DSLs, there is very limited literature on DSL development methodologies and many questions remain regarding when and how to develop a DSL. To aid the DSL developer, we identify patterns in the decision, analysis, design, and implementation phases of DSL development. Our patterns improve and extend earlier work on DSL design patterns. We also discuss domain analysis tools and language development systems that may help to speed up DSL development. Finally, we present a number of open problems.
引用
收藏
页码:316 / 344
页数:29
相关论文
共 50 条
  • [31] UML customization versus domain-specific languages
    Gray, Jeff
    Rumpe, Bernhard
    SOFTWARE AND SYSTEMS MODELING, 2018, 17 (03): : 713 - 714
  • [32] EXTENSIBLE HOST LANGUAGE FOR DOMAIN-SPECIFIC LANGUAGES
    Chodarev, Sergej
    Kollar, Jan
    COMPUTING AND INFORMATICS, 2016, 35 (01) : 84 - 110
  • [33] Domain-Specific Languages: A Systematic Mapping Study
    Mernik, Marjan
    SOFSEM 2017: THEORY AND PRACTICE OF COMPUTER SCIENCE, 2017, 10139 : 464 - 472
  • [34] Ontology Driven Development of Domain-Specific Languages
    Ceh, Ines
    Crepinsek, Matej
    Kosar, Tomaz
    Mernik, Marjan
    COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2011, 8 (02) : 317 - 342
  • [35] Domain-specific modeling with visual languages - Preface
    Gray, J
    Rossi, M
    Tolvanen, JP
    JOURNAL OF VISUAL LANGUAGES AND COMPUTING, 2004, 15 (3-4): : 207 - 209
  • [36] A Constraint Modeling Framework for Domain-Specific Languages
    Pschorn, Patrick
    Antonino, Pablo Oliveira
    Morgenstern, Andreas
    Kuhn, Thomas
    DSM'19: PROCEEDINGS OF THE 17TH ACM SIGPLAN INTERNATIONAL WORKSHOP ON DOMAIN-SPECIFIC MODELING, 2019, : 20 - 29
  • [37] JTS: Tools for implementing domain-specific languages
    Batory, D
    Lofaso, B
    Smaragdakis, Y
    FIFTH INTERNATIONAL CONFERENCE ON SOFTWARE REUSE - PROCEEDINGS, 1998, : 143 - 153
  • [38] Generating Version Convertors for Domain-Specific Languages
    de Geest, Gerardo
    Vermolen, Sander
    van Deursen, Arie
    Visser, Eelco
    FIFTEENTH WORKING CONFERENCE ON REVERSE ENGINEERING, PROCEEDINGS, 2008, : 197 - 201
  • [39] A framework for qualitative assessment of domain-specific languages
    Gökhan Kahraman
    Semih Bilgen
    Software & Systems Modeling, 2015, 14 : 1505 - 1526
  • [40] Building Domain-Specific Modeling Languages for Frameworks
    Viana, Matheus C.
    Penteado, Rosangela A. D.
    do Prado, Antonio F.
    ENTERPRISE INFORMATION SYSTEMS, ICEIS 2012, 2013, 141 : 191 - 206