Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [Flock]
[Flock] [message #674528] Fri, 27 May 2011 09:19 Go to next message
Ivo(sh) Musil is currently offline Ivo(sh) MusilFriend
Messages: 17
Registered: July 2009
Junior Member
Hi All,

I returned to my old transformation scripts written in Flock (so one year old).
This script define rule with class rename, like:

migrate A to B {

}

If I open it in editor, it complains about syntax error
"mismatched input 'to' missing 'ignoring'". After changing to

migrate A ignoring blah to B {
...
}

editor doesn't know keyword 'to'. Of course - runnig this script generates error too.

Epsilon: version 0.9.0.201104180016 (actual interrim)

Thanks for help

Ivo(sh)
Re: [Flock] [message #674599 is a reply to message #674528] Fri, 27 May 2011 13:53 Go to previous message
Louis Rose is currently offline Louis RoseFriend
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Hi Ivo,

Actually, the syntax has changed slightly in the latest version of Epsilon Flock. Migrate rules don't have to parts anymore, and retyping is now specified explicitly with a separate construct

The new way to specify the rule that you describe above is:

retype A to B;

migrate A {

}


An article describing these syntax changes -- and a chapter on Flock for the Epsilon Book -- are high on my to do list, and they should be complete within the next month. Do let me us know if you encounter any other issues, and I'll add them to the new documentation.

Cheers,
Louis.
Previous Topic:EVL validation error
Next Topic:How to integrate EGL with diagram
Goto Forum:
  


Current Time: Thu Apr 25 15:36:21 GMT 2024

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

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

Back to the top