Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

InfoQ Homepage News Eclipse Xtext 2.8 released at EclipseCon

Eclipse Xtext 2.8 released at EclipseCon

This item in japanese


Today at EclipseCon, the Xtext project released the latest version of the DSL toolset, version 2.8. Xtext provides a generic DSL infrastructure and editor along with Xtend, a Java-like language for writing compact and performant code. Xtend is based upon Xbase, a generic expression evaluation language that can be used to build other types of langauge with common math features.

Xtext 2.8 adds support for whitespace-oriented languages such as Python and Makefiles where whitespace indents can be used to nest groups of statements, as well as different code generation options for being able to build upon a specific Java version. Previously Xtext generated Java class files that are compatible with Java 5; however, by enabling different code compilation options additional features such as generating strings-in-switch or, for Java 8, translating to Java lambdas.

New functionality in the Xtend editor is the ability to convert Java classes into Xtend classes. In most cases the translator will generate equivalent (but shorter) Xtend code, but in places where the source file cannot be completely translated FIXME lines will be added to enable manual fixing.

Finally, Sven Efftinge presented "The Future of Xtext" at EclipseCon, in which he highlighted work that is being done to enable Xtext to run in IntelliJ. Although the implementation is nearly finished, there is some final work to be done to enable cross-IDE support for Xtext and Xtend. The target date for the release of Xtext in IntelliJ is May 2015. To improve collaboration and encourage contributions, the Xtext repository has been moved to GitHub.

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p