[rules-dev] Free form expressions?

Wolfgang Laun wolfgang.laun at gmail.com
Sat Jun 4 13:36:30 EDT 2011


It appears that it ain't as free as it should be:

   Person( age > $age * 2 )
Unable to return Declaration for identifier '$age * 2' : [Rule name='exa1']

   Person( isAdult() )
Unable to Analyse Expression isAdult():
[Error: no such identifier: isAdult]

   Book( "Jones" memberOf authors )
Unable to build constraint as  '"Jones"' is invalid

Cheers
Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20110604/7076d0eb/attachment.html 


More information about the rules-dev mailing list