Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » comments on the proposal
comments on the proposal [message #435] Thu, 15 November 2007 09:08 Go to next message
Miguel Garcia is currently offline Miguel GarciaFriend
Messages: 77
Registered: July 2009
Member
Hi,

I have a few comments on the proposal, as follows:

1) A paragraph in the "Related Issues" section comments on the inability of
Emfatic to adopt any other DSL than the hardcoded Emfatic DSL. That's no
surprise, as Emfatic is not a text-editor-generator, but was itself
generated. If you mention Emfatic at all, please add a link to
http://wiki.eclipse.org/Emfatic where up-to-date information can be found on
the new Emfatic (the one accepted as EMFT component, that improves on the
alphaWorks distribution from a few years ago)

2) In the "Existing Approaches" section, please add a paragraph mentioning
Gymnast Generator, http://wiki.eclipse.org/Gymnast , bundled in the EMFT
Emfatic component. Gymnast Generator was used to generate a large portion of
Emfatic, as a step forward towards combining parser generators with modeling
in a symbiotic way.

3) Finally, I would appreciate if you add the Emfatic team (Miguel Garcia,
Chris Daly) to the list of interested parties for TMF.


Regards,


Miguel


Committer in EMFT Emfatic, MDT OCL Tools, and SOC

--
Miguel Garcia miguel.garcia@tuhh.de
Institute for Software Systems (STS), AB 4-02
Technische Universitaet Hamburg-Harburg
Harburger Schlossstr. 20, 21073 Hamburg Fax: (+49)40-42878-251
Re: comments on the proposal [message #444 is a reply to message #435] Fri, 16 November 2007 09:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sven.efftinge.de

Hi Miguel,

thanks for the feedback, and sorry for having such an incomplete mention
of Emfatic/Gymnast. Is there some kind of documentation about Gymnast?

We'll update the proposal ASAP.

thanks,
Sven

Miguel Garcia wrote:
> Hi,
>
> I have a few comments on the proposal, as follows:
>
> 1) A paragraph in the "Related Issues" section comments on the inability of
> Emfatic to adopt any other DSL than the hardcoded Emfatic DSL. That's no
> surprise, as Emfatic is not a text-editor-generator, but was itself
> generated. If you mention Emfatic at all, please add a link to
> http://wiki.eclipse.org/Emfatic where up-to-date information can be found on
> the new Emfatic (the one accepted as EMFT component, that improves on the
> alphaWorks distribution from a few years ago)
>
> 2) In the "Existing Approaches" section, please add a paragraph mentioning
> Gymnast Generator, http://wiki.eclipse.org/Gymnast , bundled in the EMFT
> Emfatic component. Gymnast Generator was used to generate a large portion of
> Emfatic, as a step forward towards combining parser generators with modeling
> in a symbiotic way.
>
> 3) Finally, I would appreciate if you add the Emfatic team (Miguel Garcia,
> Chris Daly) to the list of interested parties for TMF.
>
>
> Regards,
>
>
> Miguel
>
>
> Committer in EMFT Emfatic, MDT OCL Tools, and SOC
>
> --
> Miguel Garcia miguel.garcia@tuhh.de
> Institute for Software Systems (STS), AB 4-02
> Technische Universitaet Hamburg-Harburg
> Harburger Schlossstr. 20, 21073 Hamburg Fax: (+49)40-42878-251
>
>
Gymnast patterns and EMF-based syntax trees [message #457 is a reply to message #444] Fri, 16 November 2007 11:03 Go to previous messageGo to next message
Miguel Garcia is currently offline Miguel GarciaFriend
Messages: 40
Registered: July 2009
Member
Sven,

The patterns followed in Gymnast-generated text editors are described in
http://www.sts.tu-harburg.de/~mi.garcia/SoC2007/draftreport. pdf
How Gymnast Generator internally works is not documented, however.

That report also describes another generator (IDEalize) that complements
Gymnast, for converting (at runtime) POJO-based Concrete Syntax Trees
into EMF-based ones. With that, those CSTs can be validated or queried
with OCL, or further processed with QVT, for example.

If TMF can do that, too, then we're talking about the same guiding
principles.


Miguel
Re: Gymnast patterns and EMF-based syntax trees [message #470 is a reply to message #457] Fri, 16 November 2007 16:32 Go to previous messageGo to next message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
Hi Miguel,

> The patterns followed in Gymnast-generated text editors are described in
> http://www.sts.tu-harburg.de/~mi.garcia/SoC2007/draftreport. pdf
> How Gymnast Generator internally works is not documented, however.
>
> That report also describes another generator (IDEalize) that complements
> Gymnast, for converting (at runtime) POJO-based Concrete Syntax Trees
> into EMF-based ones. With that, those CSTs can be validated or queried
> with OCL, or further processed with QVT, for example.
>
> If TMF can do that, too, then we're talking about the same guiding
> principles.

Let me first try to understand the relative positions of Gymnast and TCS.

If I am not mistaken correctly, Gymnast generates a metamodel from a
grammar. It is possible to follow this approach with TMF using
TMF/xText. I will let you (Miguel and Sven) tell me more about the
details ;-).

TMF can also start from a metamodel. TMF/TCS lets you specify the
information necessary to create a grammar that is not already in the
metamodel. Can Gymnast do that as well?
I am surprised that you do not mention TCS in your bibliography.


Also, do you have a list of syntax constructions supported by Gymnast?
For instance, can you have operators and expressions, does the generated
metamodel define a tree or can it also define a graph (e.g., attaching
variable usage to definition/declaration)?



Best regards,

Frédéric Jouault
words of wisdom about Gymnast ;-) [message #483 is a reply to message #470] Fri, 16 November 2007 21:32 Go to previous message
Miguel Garcia is currently offline Miguel GarciaFriend
Messages: 77
Registered: July 2009
Member
Fr
Next Topic:slightly off topic
Goto Forum:
  


Current Time: Wed Jul 17 09:50:21 GMT 2024

Powered by FUDForum. Page generated in 0.03333 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top