|
|
|
|
Re: Generic DSL based on POJO [message #1174591 is a reply to message #1174434] |
Thu, 07 November 2013 07:32   |
|
Hi
You are using the term "generate a grammar"
The grammar has to be generated by the DSL developer.
So every time something changes you would have to regenerate the
grammar and ship a new version of the DSL.
Xtext allows to define references to Java elements in your DSL. Thus
you could make this generic.
I am not sure what you exactly want to model. From your example that
was not clean. Can you post your pojos and a sample model?
--
Need training, onsite consulting or any other kind of help for Xtext?
Go visit http://xtext.itemis.com or send a mail to xtext at itemis dot de
Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01684 seconds