Generate Traced Code with Xtext

By | May 24th, 2017|DSLs, Eclipse, Generator, Xtext|

Xtext 2.12 is released on May 26th. As described in its release notes, a main novelty is an API for tracing generated code. Why Tracing? Whenever you transpile code from one language to another, you need some kind of mapping that instructs the involved tools how to navigate from a piece of source code to [...]

Xtext’s New Generator: Migration

By | February 19th, 2016|Eclipse, Generator, Xtext|

Xtext 2.9 ships with a new generator architecture, which is described in the previous post. Even though there is no immediate urge to migrate an existing language to the new generator infrastructure, here is how to do it. Make sure to keep a copy of your old code in order to safely roll back in [...]

Xtext’s New Generator

By | February 4th, 2016|Eclipse, Generator, Xtext|

Xtext 2.9 adds support for two additional editor platforms: Web-editors and IDEA. It also adds generic build system integration for Maven and for Gradle. As a result the number of generator options has grown a lot. So we took the opportunity to re-implement Xtext's code generator – the one that creates the language infrastructure from the [...]