Tag Archives: xpand

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

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