Your current filters are…
by Heiko Behrens and Moritz Eysholdt
Whether there is an (emerging or legacy) Domain Specific Language to increase the expressiveness of your company's developers or whether you are about to invent a new General Purpose Programming language: Good tooling beyond a parser/compiler is essential to make people who work with this language productive.
Xtext is an award-winning framework to build such tooling.
In this tutorial, you will learn how to define your language and your statically typed, EMF-based Abstract Syntax Tree using a grammar and generate a parser, a serializer and a smart editor from it. The editor provides many features out-of-the-box, such as syntax highlighting, content-assist, folding, jump-to-declaration and reverse-reference lookup. Then we will continue to show how all aspects of the language can be customized using Dependency Injection and do this by example for linking and formatting or validation. As an outlook, we will show how to integrate your language with Java, how Xtext maintains a workspace-wide Index of named elements, how to implement incremental code generation or integrate an interpreter, and how to implement Quick Fixes and refactoring.