Skip to main content



      Home
Home » Modeling » Epsilon » [Flock]
[Flock] [message #674528] Fri, 27 May 2011 05:19 Go to next message
Eclipse UserFriend
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 09:53 Go to previous message
Eclipse UserFriend
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: Sat Jul 12 18:21:58 EDT 2025

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

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

Back to the top