|
|
Textual DSLs with Eclipse Modeling
Model-Driven Software Development is often perceived as coming with a big overhead: developing the DSL (editos, meta models), as well as the backend (transformations and generators) is perceived to be a lot of work. In this session we want to show an extremely lightweight approach for buiding DSLs using TMF's Xtext and M2T's Xpand. Based on a grammar definition, we use Xtext to build a custom editor for a textual DSL. Further customization of the generated editor results in a convenient way of editing textual models. A code generator based on Xpand generates executable code from the textual models. While graphical DSL's à la GMF are useful and valuable, textual DSLs have the advantage that they can be diffed and merged with existing text based tooling (such as CVS or SVN diff/merge) and are perceived by many developers as more agile and pragmatic. In this session we will show that building textual DSLs including convenient editors is a matter of minutes or a few hours.
|