On Mon, Aug 30, 2010 at 10:58:47PM -0700, Nathan Stults wrote:
>
> It helps a lot, thank you. I don't actually find the decision participant
> more readable in simple cases because the business rule is buried in the
> participant implementation. I like the idea of decision tables for more
> complex cases though. However, the ruby eval syntax you provided will get me
> going for now. Is there a decent expression evaluator library around for
> ruby ? I have only run across one so far, but it is GPL licensed.

Sorry, begin curious, which expression evaluator is this ?

> I come from .net and they are everywhere because there is no possibility of a
> language level "eval." But sometimes for expressing human readable business
> rules a simple sandboxed expression language really fits the bill. Maybe it
> is finally time to take Treetop for a spin.

I tend to use ruby directly to express business rules, with a bit of 
eval/metaprogramming/dslery sometimes.


Cheers,

-- 
John Mettraux - http://jmettraux.wordpress.com

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to