|
Re: [TCS] Getting model from text [message #378466 is a reply to message #378459] |
Wed, 11 July 2007 17:05 |
Eclipse User |
|
|
|
Originally posted by: quentin.glineur.obeo.fr
Hi,
Most of the documentation I know about can be found at :
http://www.eclipse.org/gmt/tcs/doc/
Concerning the lexer part: As a TCS file is transformed to an ANTLR v2
file, the lexer part is simply copied without adaptation. Thus, a great
source of information on this part can be found on the ANTLR site :
http://www.antlr2.org/
For the operators definition, you may have a look at the ATL use case
CPL2SPL at
http://www.eclipse.org/m2m/atl/atlTransformations/#CPL2SPL
which include a good example of TCS through SPL textual syntax.
Regards,
Quentin GLINEUR
user@domain.invalid a écrit :
> Hi all,
>
> Im working on getting a model from text. I defined my metamodel with km3
> and I used TCS to generate code. There were no problems doing that :)
> but I got some problems trying to get the model from code.
> Is there any information or tutorial about that?
> I got a paper and a presentation of TCS, but I think they are more
> focused to get code from model. Maybe my problem its about defining the
> operators, or some token or the "lex" part (I found an example on which
> the lex part is defined, is it needed?).
>
> Thank you in advance,
>
> Regards,
> Edu
|
|
|
Re: [TCS] Getting model from text [message #602283 is a reply to message #378459] |
Wed, 11 July 2007 17:05 |
Eclipse User |
|
|
|
Originally posted by: quentin.glineur.obeo.fr
Hi,
Most of the documentation I know about can be found at :
http://www.eclipse.org/gmt/tcs/doc/
Concerning the lexer part: As a TCS file is transformed to an ANTLR v2
file, the lexer part is simply copied without adaptation. Thus, a great
source of information on this part can be found on the ANTLR site :
http://www.antlr2.org/
For the operators definition, you may have a look at the ATL use case
CPL2SPL at
http://www.eclipse.org/m2m/atl/atlTransformations/#CPL2SPL
which include a good example of TCS through SPL textual syntax.
Regards,
Quentin GLINEUR
user@domain.invalid a écrit :
> Hi all,
>
> Im working on getting a model from text. I defined my metamodel with km3
> and I used TCS to generate code. There were no problems doing that :)
> but I got some problems trying to get the model from code.
> Is there any information or tutorial about that?
> I got a paper and a presentation of TCS, but I think they are more
> focused to get code from model. Maybe my problem its about defining the
> operators, or some token or the "lex" part (I found an example on which
> the lex part is defined, is it needed?).
>
> Thank you in advance,
>
> Regards,
> Edu
|
|
|
Powered by
FUDForum. Page generated in 0.02994 seconds