[rules-dev] Free form expressions?
Edson Tirelli
ed.tirelli at gmail.com
Sat Jun 4 21:36:34 EDT 2011
Hehe, in my vocabulary these are all nicely dressed features, a.k.a,
bugs... :)
I will take a look at them.
Thanks,
Edson
2011/6/4 Wolfgang Laun <wolfgang.laun at gmail.com>
> 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
>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
--
Edson Tirelli
JBoss Drools Core Development
JBoss by Red Hat @ www.jboss.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20110604/88d1d830/attachment.html
More information about the rules-dev
mailing list