Engineering of Domain Specific Languages
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.
- 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.
Modalità di insegnamento
- 50% lectures on concepts
- 50% labs with coding on the IDE
The examination will be performed through the evaluation of 4 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.