Home » Archived » M2M (model-to-model transformation) » [ATL] What happened to MM!pkg::element notation
[ATL] What happened to MM!pkg::element notation [message #55422] |
Tue, 31 July 2007 14:32  |
Eclipse User |
|
|
|
Originally posted by: lw_mailme_00.yahoo.com
I tried to recompile a couple of older transformations today, and I got
error messages for UML!uml::Class, for example. The compiler seems to
have lost the ability to process the package name. UML!Class seems to
work fine.
I am using the atl2006 compiler from CVS, updated today.
Thanks,
Lutz
|
|
| |
Re: [ATL] What happened to MM!pkg::element notation [message #55563 is a reply to message #55482] |
Wed, 01 August 2007 07:44   |
Eclipse User |
|
|
|
Hi,
To complete what Hugo said: the "technical reason" is that we did not
find how to write the corresponding lexer rule with ANTLRv3 yet :-/.
See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=196433
for more details.
Do not hesitate to contribute a solution if you find one ;-).
Regards,
Frédéric Jouault
Hugo Bruneliere wrote:
> Lutz Wrage a écrit :
>> I tried to recompile a couple of older transformations today, and I
>> got error messages for UML!uml::Class, for example. The compiler seems
>> to have lost the ability to process the package name. UML!Class seems
>> to work fine.
>>
>> I am using the atl2006 compiler from CVS, updated today.
>>
>> Thanks,
>> Lutz
>
> Hi Lutz,
>
> ATL2006 now uses ANTLRv3 and for technical reasons, you must put your
> elements name between double quotes if they include package name(s):
>
> e.g. UML!"uml::Class"
>
> Best regards,
>
> Hugo
>
|
|
|
Re: [ATL] What happened to MM!pkg::element notation [message #55644 is a reply to message #55563] |
Wed, 01 August 2007 16:42   |
Eclipse User |
|
|
|
Originally posted by: lwrage.sei.cmu.edu
I'd like to help, but it seems that the ANTLR source code for the lexer
is not in cvs...
- Lutz
Frédéric Jouault wrote, on 8/1/2007 7:44 AM:
> Hi,
>
> To complete what Hugo said: the "technical reason" is that we did not
> find how to write the corresponding lexer rule with ANTLRv3 yet :-/.
>
> See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=196433
> for more details.
>
> Do not hesitate to contribute a solution if you find one ;-).
>
>
> Regards,
>
> Frédéric Jouault
>
>
> Hugo Bruneliere wrote:
>> Lutz Wrage a écrit :
>>> I tried to recompile a couple of older transformations today, and I
>>> got error messages for UML!uml::Class, for example. The compiler
>>> seems to have lost the ability to process the package name. UML!Class
>>> seems to work fine.
>>>
>>> I am using the atl2006 compiler from CVS, updated today.
>>>
>>> Thanks,
>>> Lutz
>>
>> Hi Lutz,
>>
>> ATL2006 now uses ANTLRv3 and for technical reasons, you must put your
>> elements name between double quotes if they include package name(s):
>>
>> e.g. UML!"uml::Class"
>>
>> Best regards,
>>
>> Hugo
>>
|
|
| |
Re: [ATL] What happened to MM!pkg::element notation [message #55724 is a reply to message #55697] |
Thu, 02 August 2007 05:43  |
Eclipse User |
|
|
|
Hi,
Quentin is right about the location of the source.
However, I advise against trying to solve this minor lexer issue on the
all ATL grammar. It takes a relatively long time compare indeed, whereas
you only need to play with one rule of the lexer.
Trying on a simpler grammar is probably better ;-).
Regards,
Frédéric Jouault
Quentin Glineur wrote:
> Hi,
>
> have you checked org.eclipse.m2m.alt/dsls/atl ?
> (if I have well understood, it should be what you are looking for)
>
> Regards,
>
> Quentin GLINEUR
>
> Lutz Wrage a écrit :
>> I'd like to help, but it seems that the ANTLR source code for the
>> lexer is not in cvs...
>>
>> - Lutz
>>
>> Frédéric Jouault wrote, on 8/1/2007 7:44 AM:
>>> Hi,
>>>
>>> To complete what Hugo said: the "technical reason" is that we did not
>>> find how to write the corresponding lexer rule with ANTLRv3 yet :-/.
>>>
>>> See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=196433
>>> for more details.
>>>
>>> Do not hesitate to contribute a solution if you find one ;-).
>>>
>>>
>>> Regards,
>>>
>>> Frédéric Jouault
>>>
>>>
>>> Hugo Bruneliere wrote:
>>>> Lutz Wrage a écrit :
>>>>> I tried to recompile a couple of older transformations today, and I
>>>>> got error messages for UML!uml::Class, for example. The compiler
>>>>> seems to have lost the ability to process the package name.
>>>>> UML!Class seems to work fine.
>>>>>
>>>>> I am using the atl2006 compiler from CVS, updated today.
>>>>>
>>>>> Thanks,
>>>>> Lutz
>>>>
>>>> Hi Lutz,
>>>>
>>>> ATL2006 now uses ANTLRv3 and for technical reasons, you must put
>>>> your elements name between double quotes if they include package
>>>> name(s):
>>>>
>>>> e.g. UML!"uml::Class"
>>>>
>>>> Best regards,
>>>>
>>>> Hugo
>>>>
|
|
|
Goto Forum:
Current Time: Thu May 08 16:54:13 EDT 2025
Powered by FUDForum. Page generated in 0.03608 seconds
|