Is there a way to check whether the expression is valid before evaluating it?

Mar 27, 2013 at 2:42 AM

New here, so hi.

Excellent project.

Got it working in MVC3, .NET4. C# environment to test rules against class objects. Looks good.
However I have found an issue, and that is I need to validate the expression to check it can compile before evaluating it, otherwise I will get a runtime exception. which crashes the application. I do not mind a graceful failure. Perhaps just wrapping the "evaluate" in a try catch block is enough. However is there a better method to do this, perhaps there is a method in FLEE.

Many thanks,