This project has moved. For the latest updates, please go here.

2.0.3 has issue with formula parsing, while things run fine on 2.0.3

Simple operations like (5M-2M) are throwing error on scopeparse with latest version. However, these and many other complex formulas are working fine on 2.0.3

Id #55 | Release: None | Updated: Dec 23, 2016 at 9:59 AM by 1402natasha | Created: Dec 23, 2016 at 9:59 AM by 1402natasha

Can't Resolve string.Empty

var registry = new TypeRegistry(); registry.RegisterDefaultTypes(); var expression = new CompiledExpression("string.Empty"){ TypeRegistry = registry }; expression.ExpressionType = CompiledExpre...

Id #54 | Release: None | Updated: Oct 28, 2016 at 7:01 AM by julkahendri | Created: Oct 28, 2016 at 7:01 AM by julkahendri

Error evaluating simple expression "3-2"

The problem seems to be with the "-" symbol and that there is no spaces between the symbol and the number. Other operations such as "3+2" work correctly. My code is parsing code entered by the u...

Id #53 | Release: None | Updated: Dec 23, 2016 at 6:39 AM by 1402natasha | Created: Oct 12, 2016 at 6:08 PM by cacacadega

Calculation of simple math exrpession gives wrong result

Hi, I am using ExressionEvaluator version v4.0.30319 and when I try to calculate simple math expression like ((3/2)(3/2)10)3.14 I get a result of 31.4 instead of correct result of 70.65. Be...

Id #52 | Release: None | Updated: Oct 19, 2016 at 8:20 PM by shreekanthks | Created: Oct 12, 2016 at 4:58 PM by shreekanthks

":" - Expression Helper - Invalid literal character

Hi, I noticed that when I try to parse the following expression: boolValue ? "C:/SOMEPATH" : "D:/SOMEPATH" I get an Invalid literal character exception for the ':' char. The exception is bein...

Id #51 | Release: None | Updated: Oct 15, 2016 at 6:16 PM by RupertAvery | Created: Oct 3, 2016 at 12:45 PM by skudster

Eval CompiledExpression with DateTime errors

Trying to do a simple evaluation of: var expression = new CompiledExpression("DateTime.Today.ToString("dd/MM/yy")"); var result = expression.Eval(); Console.WriteLine(result); Exits with erro...

Id #50 | Release: None | Updated: Oct 15, 2016 at 6:24 PM by RupertAvery | Created: Sep 16, 2016 at 8:01 AM by XceS

Troubles with new version 2.0.4

Since version 2.0.4 i the following issues happend: now i need a space between a negative sign and the next token, otherwise an exception will be thrown (ExpressionParseException -> Error parsing...

Id #49 | Release: None | Updated: Sep 16, 2016 at 12:05 AM by RupertAvery | Created: Sep 16, 2016 at 12:05 AM by RupertAvery

Callback type registry

Would it be possible to have a callback mechanism for type registry instead of it being just a dictionary? I often find myself in the situation where users want to write type names in their scripts...

Id #48 | Release: None | Updated: Sep 16, 2016 at 12:05 AM by RupertAvery | Created: Sep 16, 2016 at 12:05 AM by RupertAvery

Losing scope ability on attempted reuse of func

Hey all. So this a weird one cause the doc under "performance" illustrates otherwise. I'm using ScopeCompile to pre-compile my query and the resulting Func is cached away, very similarly to how th...

Id #47 | Release: None | Updated: Jul 17, 2016 at 1:40 PM by mclucario | Created: Apr 28, 2016 at 10:24 PM by miguelcastro67

"1-2" expression throws an error

This expression throws a stupid error "Error parsing token '-2'". That's happening? var t1 = new CompiledExpression("1-2"); MessageBox.Show(t1.Eval().ToString());

Id #46 | Release: None | Updated: Dec 23, 2016 at 6:39 AM by 1402natasha | Created: Mar 18, 2016 at 7:48 AM by Volj