Crafting Domain Specific Languages - A Practical Guide - OCX 2024
Since the inception of Eclipse Xtext in 2008, domain-specific languages (DSLs) have been applied in numerous industrial applications from all kinds of domains. With Eclipse Langium, which borrows ideas from Xtext and lifts them to a web technology stack, the concept of DSLs has become accessible to an even wider range of use cases. With this talk, I will share recommendations and insights gained from working on DSLs in various different contexts. This includes language design principles, common challenges and solutions, and many practical hints. I will cover the most important aspects of introducing a DSL in a business context: - Finding the right abstraction level - Using concepts and vocabulary from the actual domain - Implementing the grammar and cross-reference linking - Integrating the language in an IDE or web application - Automating processes with code generators and interpreters - Communicating the solution to the targeted user group No particular knowledge is required from attendees, but curiosity about DSLs and their application is welcome. Attendees will learn what DSLs are, why they can be useful, approaches for implementing a DSL, and other practical things in this context.