Tag Archives: xtext

Deploying the code generator with Xtext/Xpand

This week I deployed a DSL with its corresponding code generator for a client. The DSL and corresponding editor was written in Xtext and the code generator in Xpand/Xtend. I was thinking through various options for deploying the editor and code-generator and in the process I investigated the options in Xtext. At first I was…
Read more

Xtext vs. EMFText: Code generation

Introduction This post is going to be very short as there comparison here is rather trivial. Both tools can be integrated with any of the transformation frameworks available in Eclipse. EMFText does not include transformation nor suggest any specific transformer. Xtext integrates tightly with one of the transformation frameworks, but can be reconfigured to use…
Read more

Xtext vs. EMFText: Development Process

Introduction In my previous post, I compared Xtext and EMFText. I pointed out a few differences that may help you select one tool over the other. In the next posts I'll go into each of the points in more details. In this first in-depth comparison, I'll be focusing on the differences in the development processes…
Read more

Xtext or EMFText… that is the question

I just finished a project building a textual DSL and a code generator for a client and after some intensive investigation, Xtext seemed the best alternative. Today, I learned that EMFText just released a new version (1.2), and it looks very promising. It seems I'll have to investigate the two tools and make a comparison…
Read more

Xtext Valueconverter

I thought I'd share another little trick in Xtext. This trick is actually documented well at various places on the web, but to be able to do what I wanted to do, I had to pull information from many different locations. So… I thought it may be a good idea to collect the tips here…
Read more

How to Write an Extension in Xtend for Xpand in Xtext

I ran into a problem in Xtext some weeks ago. I wanted to generate a serialization id for my generated Java classes. After some dumbfounded attempt to do so in Xpand, I realized that Xpand does not allow for an arbitrary Java algorithm to be interspersed in the (almost) declarative Xpand template language. I asked…
Read more