When and how to develop domain-specific languages
Marjan Mernik, Jan Heering, Anthony M. Sloane · ACM Computing Surveys · 2005
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.
Cited by 1,748 works. doi:10.1145/1118890.1118892
Authors
References
- Design Patterns: Elements of Reusable Object-Oriented Software
- Component software beyond object oriented programming
- Feature-Oriented Domain Analysis (FODA) Feasibility Study
- OWL Web Ontology Language Reference
- Generative Programming: Methods, Tools, and Applications
- The art of the metaobject protocol
- Software reuse
- Software Factories: Assembling Applications with Patterns, Models, Frameworks and Tools
- Partial evaluation and automatic program generation
- The Art of the Metaobject Protocol