Summary

In this chapter, we showed many advanced topics and techniques related to an Xtext DSL implementation. When your DSL grows in features, you may want to take some of the techniques described in this chapter into consideration. These could be useful to make the implementation cleaner and more maintainable, to make a few aspects easier to implement and to improve the overall performance.

Finally, we showed how Xbase can be extended with new expressions, by customizing the type system, the validator, and the compiler accordingly.

Get Implementing Domain-Specific Languages with Xtext and Xtend - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.