Generating text through TextGen has its downsides and limitations. You may frequently prefer picking GText as the model to translate your DSL into. Watch this screen-cast and learn how we translated our sample constant language into Ruby using GText as an intermediate model.
In the fifth episode of the MPS beginners' series you'll familiarize yourself with the TextGen aspect. We'll take our MPS-based DSL and generate Ruby code from it.