In this report you can find a detailed step-by-step how to use EMFText to develop a Domain Specific Modeling Language.
I used the example of a simple organizational chart DSL in which I present most of the functionalities of EMFText. In particular I give an example on how to use the EMFText parser generated for the organizational chart DSL in order to build stand-alone applications that have as input models of the DSL.
Although EMFText can be considered in a early development phase, I enjoyed the DSL development approach that uses: we start by developing Ecore metamodels and then to provide a concrete syntax for the DSL. Very neat. Furthermore, it's amazingly easy to use!
In a next document I'll show how to integrate with GMF in order to build a fancy graphycal editor for this same DSL.
Download the file from here and feel free to send me your comments
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment