ExpressionParser icon indicating copy to clipboard operation
ExpressionParser copied to clipboard

A simple lib in C# for parsing and evaluating expressions.

Results 4 ExpressionParser issues
Sort by recently updated
recently updated
newest added

`System.ValueTuple` is a convenient way to group elements of data into an anonymous struct tuple. However the integration into the .Net Framework ecosystem has been full of bumps. Since net47...

seems to have a bug in code when i was testing... original is: static bool IsDate(string lhs, string rhs, out DateTime lhsDate, out DateTime rhsDate) { lhsDate = default(DateTime); rhsDate...

var context = new EvaluationContext(); var evaluator = new Evaluator(context); var result = evaluator.EvaluateInfix("Hello"); //Should fail.

The expression "(-50)" is not correctly handled. `DetermineOperatorType` does not detect that `-` after an `ExpressionTokenType.OpenParenthesis` is a unary minus and not binary minus. So `HandleOperator` will treat it as...