Domain-Specific Languages With Xtext
Are you bored of writing boilerplate code? Are you drowning in XML files? Do you have to verify every single change with long running integration tests?
Xtext is here to your rescue. Xtext makes it easy to build a domain-specific language that is tailored to your projects and provides the best notation to describe your program’s structure and behavior. Code generation allows to integrate frameworks and languages that seemed unbridgeable before. Developing becomes fun again, since Xtext provides a smart editor for your language. Turnaround times speed up again since many errors can be detected by the editor, before they break tests or make customers unhappy.
In this talk I will guide you through the basic steps towards your own DSL: Defining a grammar, resolving references, and implementing validation rules and code generators.