Eclipse Indigo’s version of Xtext will come with a major enhancement called Xbase. Xbase is an extendable expression language developed with Xtext. It integrates tightly with Java and can be mixed into your very own DSLs. Ugly workarounds such as modifying generated code have finally become obsolete. In this tutorial we will first develop a small DSL, using Xtext 2.0. You will learn about Xbase and its concepts and see how easy it is to integrate it into your DSL. In the second part of the tutorial we will implement a compiler for the created DSL using Xtend 2 the successor to openArchitectureWare’s Xpand. Xtend 2 itself is built on top of Xbase and compiles to readable, high performance Java code.
Sign in to add slides, notes or videos to this session