Design Patterns and Design Principles for Internal Domain-Specific Languages

Author:

Günther Sebastian1

Affiliation:

1. Vrije Universiteit Brussel, Belgium

Abstract

Internal DSLs are a special kind of DSLs that use an existing programming language as their host. To build them successfully, knowledge regarding how to modify the host language is essential. In this chapter, the author contributes six DSL design principles and 21 DSL design patterns. DSL Design principles provide guidelines that identify specific design goals to shape the syntax and semantic of a DSL. DSL design patterns express proven knowledge about recurring DSL design challenges, their solution, and their connection to each other – forming a rich vocabulary that developers can use to explain a DSL design and share their knowledge. The chapter presents design patterns grouped into foundation patterns (which provide the skeleton of the DSL consisting of objects and methods), notation patterns (which address syntactic variations of host language expressions), and abstraction patterns (which provide the domain-specific abstractions as extensions or even modifications of the host language semantics).

Publisher

IGI Global

Reference75 articles.

1. Agosta, G., & Pelosi, G. (2007). A domain specific language for cryptography. In Proceedings of the Forum on Specification and Design Languages (pp. 59–164). Gières, France: ECSI.

2. Arpaia, P., Buzio, M., Fiscarelli, L., Inglese, V., La Commara, G., & Walckiers, L. (2009). Measurement-domain specific language for magnetic test specifications at CERN. In IEEE International Instrumentation and Measurement Technology Conference (pp. 1716 –1720). Washington, DC: IEEE.

3. Mawl: a domain-specific language for form-based services

4. Paradise

5. Avgeriou, P., & Zdun, U. (2005). Architectural patterns revisited - A pattern language. In A. Longshaw & U. Zdun (Ed.), Proceedings of the 10th European Conference on Pattern Languages of Programs (EuroPLoP) (pp. 431–469). Konstanz, Germany: Universitätsverlag Konstanz.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3