When and how to develop domain-specific languages

Marjan Mernik*, Jan Heering, Anthony M. Sloane

*Corresponding author for this work

Research output: Contribution to journalArticle

1093 Citations (Scopus)

Abstract

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.

Original languageEnglish
Pages (from-to)316-344
Number of pages29
JournalACM Computing Surveys
Volume37
Issue number4
Publication statusPublished - 2005

Fingerprint Dive into the research topics of 'When and how to develop domain-specific languages'. Together they form a unique fingerprint.

  • Cite this