Re: [rules-users] Mapping to '==' in enumeration

2013-02-12 Thread rjr201
Ah right. I should have guessed that. Thank-you. I'm creating a language that is pure dsl and doesn't require the user to reference the object model classes directly. We're only in the very early development experimental stages at the moment, so this may change. I'm doing this because there was co

Re: [rules-users] Mapping to '==' in enumeration

2013-02-12 Thread Michael Anstis
Hi, You need to escape the = with double \\ For example: ['a\\=5=expression1', 'a\\=5*2=expression2'] Operators already have a human readable form within Guvnor. Why do you need to replicate the behaviour? With kind regards, Mike On 12 February 2013 11:55, rjr201 wrote: > Hi, > > I've creat

[rules-users] Mapping to '==' in enumeration

2013-02-12 Thread rjr201
Hi, I've created an enumeration in Guvnor like so: 'Object.operator[]': ['== = equals', '!= = does not equal', '< = less than', '> = greater than'] The less than and greater than map fine. But the equals and does not equal don't. I realise that I need to escape the first two = signs, but can't f