上QQ阅读APP看书,第一时间看更新
Summary
Xtend provides many features that allow you to write clean and more readable code. Since it is completely integrated with Java, all the Java libraries are accessible from within Xtend; moreover, the IDE tooling of Xtend itself is basically the same as the ones of JDT. For all of the aforementioned reasons, Xtext fosters the use of Xtend to develop all the aspects of a DSL implementation.
In the next chapter, we will show you how to implement constraint checks for a DSL using the EMF Validator mechanism using the Xtext enhanced API.