[rules-users] Compound DSL statements

2010-12-17 Thread Chris Selwyn
I tried creating a DSL something like the following:- [when] there is a QQ with attr equal to {YYY} = there is a Q - with attr equal to {YYY} [when]there is a Q = Question() [when] - with attr equal to {YYY} = attr == {YYY} but I find that the expansion does not seem to work right. When I use

Re: [rules-users] Compound DSL statements

2010-12-17 Thread Michael Anstis
AFAIK compound DSL is not supported; however longer term we are looking to move to a more sophisticated approach using templates that'll allow compound construction. On 17 December 2010 15:55, Chris Selwyn ch...@selwyn-family.me.uk wrote: I tried creating a DSL something like the following:-