[Flock] [message #674528] |
Fri, 27 May 2011 05:19  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.06412 seconds