Next up: EclipseCon EuropeSign in
Enter your EclipseCon 2013 username.
Enter the password that accompanies your username.

Java DSLs with Xtext

Session Type: 
Standard [35 minutes]
Speakers

Building DSLs with Xtext is easy: You define the most convenient syntax and generate whatever code you like from it.

But integrating these DSLs within a Java project usually involves bridging some major gaps, e.g. mutual referencing, mixing generated and hand-written code as well as integration on the IDE level. Xtext's special support for Java DSLs gives you all of this and more for free.

In this session I will show you how to implement such Java DSLs. In addition to the grammar of your language, you define how your concepts are mapped to Java. An expression language library allows to incorporate behavior easily in your DSL. The actual code generator and a lot of IDE support is automatically derived. The result is a seamlessly integrated cross-language IDE for the developers, and a plain Java application at runtime.

Using some real world examples I am going to illustrate the new possibilities of this approach, bringing integrated DSL support to Java.

Schedule info

Time slot: 
26 March 10:30 - 11:05
Status: 
Accepted

Audience

Track: 
DSL
Experience level: 
Intermediate
Slides: 

Copyright © 2013 The Eclipse Foundation. All Rights Reserved.