Chapter 12. Xbase
In this chapter we briefly present Xbase, a reusable expression language completely interoperable with the Java type system. Using Xbase in your DSL, you will inherit the mechanisms for performing type checking according to the Java type system and the automatic Java code generation. Xbase also comes with many default implementations of UI aspects. The Xbase expression language is rich and has all the features of a Java-like language, such as object instantiation, method invocation, exceptions, and so on, and more advanced features such as lambda expressions and type inference. The Xtend programming language itself is built on Xbase.
This chapter will cover the following topics:
- An introduction to the main concepts and features ...