Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
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 18:32 Go to next message
Eclipse UserFriend
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 #55482 is a reply to message #55422] Wed, 01 August 2007 08:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Hugo.Bruneliere.univ-nantes.fr

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

--
--------------------------------------------------------
Hugo Bruneliere - R&D Engineer
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssiniere
44322 Nantes Cedex 3 - France
office +33 2 51 12 58 10 /\ cell.+33 6 07 42 45 30
EMail: Hugo.Bruneliere@univ-nantes.fr
http://www.sciences.univ-nantes.fr/lina/atl/
--------------------------------------------------------
Re: [ATL] What happened to MM!pkg::element notation [message #55563 is a reply to message #55482] Wed, 01 August 2007 11:44 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,

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 20:42 Go to previous messageGo to next message
Eclipse UserFriend
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 #55697 is a reply to message #55644] Thu, 02 August 2007 08:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: quentin.glineur.obeo.fr

This is a multi-part message in MIME format.
--------------000105000806050109040800
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

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
Re: [ATL] What happened to MM!pkg::element notation [message #55724 is a reply to message #55697] Thu, 02 August 2007 09:43 Go to previous message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
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
>>>>
Previous Topic:[ATL] Referencing Metamodels in jar-File
Next Topic:[ATL]wiki :ATL Developer Doc
Goto Forum:
  


Current Time: Thu Jan 21 06:19:48 GMT 2021

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

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

Back to the top