Re: [rules-users] Writing really short rules

2012-04-12 Thread Geoffrey De Smet
drools-decisiontables can also work with csv files IIRC Op 11-04-12 20:57, Adam Warski schreef: > Hello, > > I have some near-tabular data which I would like to write down as rules. > There about 100 rows. Using a custom DSL, the shortest form I now have for > each entry is: > > rule "..." > when

Re: [rules-users] Writing really short rules

2012-04-11 Thread Michael Anstis
Another file, yes. Your original enquiry suggested you'd use a separate DSL or decision table so I assumed another file was acceptable. Sorry. sent on the move On 11 Apr 2012 20:52, "Adam Warski" wrote: > > manstis wrote > > > > What about a rule template? > > > > You can also create rules fro

Re: [rules-users] Writing really short rules

2012-04-11 Thread Adam Warski
manstis wrote > > What about a rule template? > > You can also create rules from a CSV based decision table - or if your > more > adventurous write your own Listener (see the dtable docs). > Hmm but that assumes that I have the data in some external storage. I'd like to make the rules file the

Re: [rules-users] Writing really short rules

2012-04-11 Thread Michael Anstis
What about a rule template? You can also create rules from a CSV based decision table - or if your more adventurous write your own Listener (see the dtable docs). On 11 April 2012 19:57, Adam Warski wrote: > Hello, > > I have some near-tabular data which I would like to write down as rules. > T

[rules-users] Writing really short rules

2012-04-11 Thread Adam Warski
Hello, I have some near-tabular data which I would like to write down as rules. There about 100 rows. Using a custom DSL, the shortest form I now have for each entry is: rule "..." when some condition with data from row then always the same action end so 4 lines. Is it possible to somehow write