hi is it possible to have a dsl providing users to write somthing like :
bool1 AND bool2 OR (bool4 AND bool5)
I tried to use eval and the mapping bellow :
TELS QUE {v1} ET ({v2} OU {v3}) --> eval({v1} && ({v2} || {v3}));
In my drl I have this condition : TELS QUE EA001 ET ( N OU F )
But it seems not working :
testFromMessage/Rule_indicateur___facturer_0.java (15:551) : Syntax error
on token "OU", invalid AssignmentOperator
testFromMessage/Rule_indicateur___facturer_0.java (15:554) : F cannot be
resolved
--
View this message in context:
http://www.nabble.com/dsl-mapping-for-and-or-tf4266238.html#a12141603
Sent from the drools - user mailing list archive at
Nabble.com.