Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [TCS] TCS helpers
[TCS] TCS helpers [message #90035] Thu, 11 September 2008 14:27 Go to next message
Alfons Laarman is currently offline Alfons LaarmanFriend
Messages: 71
Registered: July 2009
Member
Hello,

Can somebody tell me something about TCS helpers?
I noticed some TCS projects having a Helpers directory containing some
queries. I guess for helping the parse operation?
What about the constraints in the WZR dir?


Kind regards,

Alfons
Re: [TCS] TCS helpers [message #90050 is a reply to message #90035] Thu, 11 September 2008 18:10 Go to previous messageGo to next message
Andy Carpenter is currently offline Andy CarpenterFriend
Messages: 145
Registered: July 2009
Senior Member
Alfons,

I believe that the correct location of posting TCS issues
is eclipse.modeling.tmf; it's unclear why the eclipse,tcs
list has just been created.

Helpers are normally associated with ATL transformations. I
suspect that the projects that you've seen are using ATL
to transform models output from a TCS parse (injection), that
are conformant with one meta-model, into models conformant with a
different meta-model. This will definitely be true if the projects
that you've seen are ATL/AM3 dsls.

Andy.

"Alfons Laarman" <a.w.laarman@student.utwente.nl> wrote in message
news:gab9sh$q2n$1@build.eclipse.org...
> Hello,
>
> Can somebody tell me something about TCS helpers?
> I noticed some TCS projects having a Helpers directory containing some
> queries. I guess for helping the parse operation?
> What about the constraints in the WZR dir?
>
>
> Kind regards,
>
> Alfons
>
Re: [TCS] TCS helpers [message #92493 is a reply to message #90050] Tue, 14 October 2008 14:40 Go to previous message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
Hi,

Andy, thanks for your answer :-).


Alfons, here are some more details to complete Andy's answer:

Basically, a language project includes a metamodel (.km3), a concrete
syntax (.tcs), and possibly some transformations (e.g., to implement the
language in terms of another, like KM32Ecore.atl).

Helpers which may be reused by several such transformations are
generally identified as such in a Helpers folder.

The WFR folder (when existing) contains Well-Formedness Rules, which are
implemented as a transformation from the language metamodel to a Problem
(diagnostic) metamodel. This transformation may be implemented in ATL or
in a specific DSL for such constraints [1]. It can be automatically
executed by TGE, as long as it runs on the ATL VM.




[1] Bézivin, J, and Jouault, F : Using ATL for Checking Models. In:
Proceedings of the International Workshop on Graph and Model
Transformation (GraMoT), Tallinn, Estonia. 2005.


Regards,

Frédéric


Andy Carpenter a écrit :
> Alfons,
>
> I believe that the correct location of posting TCS issues
> is eclipse.modeling.tmf; it's unclear why the eclipse,tcs
> list has just been created.
>
> Helpers are normally associated with ATL transformations. I
> suspect that the projects that you've seen are using ATL
> to transform models output from a TCS parse (injection), that
> are conformant with one meta-model, into models conformant with a
> different meta-model. This will definitely be true if the projects
> that you've seen are ATL/AM3 dsls.
>
> Andy.
>
> "Alfons Laarman" <a.w.laarman@student.utwente.nl> wrote in message
> news:gab9sh$q2n$1@build.eclipse.org...
>> Hello,
>>
>> Can somebody tell me something about TCS helpers?
>> I noticed some TCS projects having a Helpers directory containing some
>> queries. I guess for helping the parse operation?
>> What about the constraints in the WZR dir?
>>
>>
>> Kind regards,
>>
>> Alfons
>>
>
>
Previous Topic:[QVTO] first() and If Expression
Next Topic:Load multiple metamodel files programmatically
Goto Forum:
  


Current Time: Fri Apr 19 10:10:39 GMT 2024

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

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

Back to the top