[TCS] TCS helpers [message #90035] |
Thu, 11 September 2008 10:27  |
Eclipse User |
|
|
|
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 10:40  |
Eclipse User |
|
|
|
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
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06409 seconds