Engineering of Domain Specific Languages
- Learn what a Domain-Specific language (DSL) is and what are the pros and cons of using them;
- Learn the difference between internal and external DSLs;
- Learn how to build DSLs in Scala and Kotlin;
- Learn how to provide support for DSLs in the IDE;
- Learn how to use DSLs for specific software engineering tasks like testing and modeling
Domain-Specific Languages (DSLs) are programming languages that are tailored to a particular application domain. This essential focus of DSLs allows to write more concise and understandable programs, with a tight stakeholder integration, and when done properly, to improve code quality. The course will feature the current state-of-the-art on both the design and implementation of DSLs. The course will emphasize the different design dimensions of DSLs, the involved language paradigms and features, and the drawbacks with respect to simple API modeling.
- 50% lectures on concepts, 50% labs with coding on the IDE
The examination will be performed through the evaluation of 5 assignments, each one of 2 weeks duration, on the topics of the course. An optional final exam can be performed to improve the grade of the two lowest-graded assignments.
- DSL Engineering: Designing, Implementing and Using Domain-Specific Languages. Markus Voelter. 2013 (dslbook.org)
- Domain-Specific Languages. Martin Fowler. Addison Wesley 2013.