[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.m2m] [ATL]Lazy rules questions

Hi,

when experimenting with lazy rules I noticed that it is possible to define several lazy rules in an ATL module that have the same name and identical source patterns. The compiler doesn't complain, and at run-time only one of the rules is executed. (The one that is defined last in the source file) What is the intended behavior in such a case.

I tried to add guards to the source patterns in the lazy rules. Again, the compiler accepts this, but at runtime they are ignored, i.e., the rule gets executed even if the guard is false. Is this the intended behavior?

Using ATL 2006 I tried to create a lazy rule that extends another which caused the compiler to die with an exception. Is extension of lazy rules allowed?

Thanks,
Lutz