ABSTRACT
Nowadays, designing a domain-specific language is easier than ever before. Nevertheless, finding the right balance concerning the configurability of concepts represented by language elements is a complicated design task. With this paper we provide four patterns that discuss different kinds of configurability that can also be combined. In the end, we show the application of these patterns using an example we had to deal with in our research project.
- Peter Coad. 1992. Object-oriented patterns. Commun. ACM 35, 9 (1992), 152--159. Google ScholarDigital Library
- Ivica Crnkovic, Severine Sentilles, Vulgarakis Aneta, and Michel R.V. Chaudron. 2011. A Classification Framework for Software Component Models. IEEE Transactions on Software Engineering 37, 5 (sep 2011), 593--615. Google ScholarDigital Library
- Douglas Crockford. 2016. Introduction to JSON. (2016). http://json.org/Google Scholar
- Martin Fowler. 1997. Analysis Patterns: Reusable Object Models. Addison-Wesley. Google ScholarDigital Library
- Martin Fowler. 2010. Domain-Specific Languages. Pearson Education. Google ScholarDigital Library
- Karl Heinz John and Michael Tiegelkamp. 2010. IEC 61131-3: Programming Industrial Automation Systems. Springer Berlin Heidelberg, Berlin, Heidelberg.Google Scholar
- Ralph Johnson and Bobby Woolf. 1998. The Type Object Pattern. In Pattern Languages of Program Design 3. Addison-Wesley.Google Scholar
- Object Management Group (OMG). 2015. OMG Unified Modeling Language (OMG UML), Version 2.5. (2015). http://www.omg.org/spec/UML/2.5/Google Scholar
- W3C. 2016. XML Schema. (2016). https://www.w3.org/XML/SchemaGoogle Scholar
- Joseph W. Yoder, Federico Balaguer, and Ralph Johnson. 2001. Architecture and Design of Adaptive Object-models. SIGPLAN Not. 36, 12 (Dec. 2001), 50--60. Google ScholarDigital Library
Index Terms
- Patterns for designing configurability into domain-specific language elements
Recommendations
When and how to develop domain-specific languages
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 ...
Declaratively defining domain-specific language debuggers
GCPE '11Tool support is vital to the effectiveness of domain-specific languages. With language workbenches, domain-specific languages and their tool support can be generated from a combined, high-level specification. This paper shows how such a specification ...
Declaratively defining domain-specific language debuggers
GPCE '11: Proceedings of the 10th ACM international conference on Generative programming and component engineeringTool support is vital to the effectiveness of domain-specific languages. With language workbenches, domain-specific languages and their tool support can be generated from a combined, high-level specification. This paper shows how such a specification ...
Comments