Skip to main content



      Home
Home » Archived » M2M (model-to-model transformation) » [ATL]Lazy rules questions
[ATL]Lazy rules questions [message #20611] Mon, 05 March 2007 14:49
Eclipse UserFriend
Originally posted by: lw_mailme_00.yahoo.com

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
Previous Topic:[ATL]ATL 2006 Questions
Next Topic:[ATL]Launching ATL programmatically problem
Goto Forum:
  


Current Time: Mon Jul 14 13:52:59 EDT 2025

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

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

Back to the top