|
|
|
|
|
Re: Xtext Grammar generation [message #1292164 is a reply to message #1292066] |
Fri, 11 April 2014 15:24 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
Hi
For research, you may be interested in
http://www.eclipse.org/modeling/mdt/ocl/docs/publications/MODELS2010OCLWorkshop/oclxtext.pdf,
and slides 6,7,22 of
http://www.eclipse.org/modeling/mdt/ocl/docs/publications/MODELS2010OCLWorkshop/oclxtext.odp.
The hinted at automation should contribute to OCL 2.5.
Xtext is not the only tool available, so there may be others that
provide more integration, but I suspect they are mostly a little
different rather than a little better. Since Xtext is well established
within the Eclipse Simultaneous Release I have not felt tempted to look
elsewhere. The main size limitation of an Xtext grammar can be tackled
by an Xtext2LPG transformation that I started work on a couple of years
ago, but it's out of sight on my stack.
You can see from the slides that I see grammar and metamodels as
fundamentally separate so I like the way metamodel-annotated EBNF
(Xtext) respects the separation but allows joint usage.
Regards
Ed Willink
On 11/04/2014 14:33, Salome Maro wrote:
> Hi Ed,
>
> Thanks again. This is very helpful. But lets say from a research point
> of view I wanted to pursue how to generate grammar according to a
> different template than that coming with Xtext, where would I start
> looking?
> I am not aware of where exactly Xtext makes/creates the generated
> grammar from ecore.
> regards,
> Salome
|
|
|
|
Powered by
FUDForum. Page generated in 0.03128 seconds