MPS basics - GText generation

Posted 24.02.12 13:02 by Vaclav Pech
14,115
English
MPS Code Generation, DSL, Introduction, Ruby, Vaclav Pech

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.

Note: If you like the screen-cast, you may also enjoy watching the other episodes - episode 1, episode 2, episode 3, episode 4, episode 5 and episode 7.

 

»
No votes yet