SoftCircuits.ExpressionEvaluator 1.0.1

Expression evaluator that will evaluate a string that contains an expression and return the result of that expression. Expressions can include parentheses to control evaluation priorities and the currently supported operators are "+", "-", "*", "/" and "%".

In addition, expressions can contain symbols and functions, and functions arguments can be expressions that also include symbols and functions. When the evaluator encounters a symbol or function, it will raise the EvaluateSymbol or EvaluateFunction event.

There is a newer version of this package available.
See the version list below for details.
Install-Package SoftCircuits.ExpressionEvaluator -Version 1.0.1
dotnet add package SoftCircuits.ExpressionEvaluator --version 1.0.1
<PackageReference Include="SoftCircuits.ExpressionEvaluator" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SoftCircuits.ExpressionEvaluator --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Reworked the code internally; Added some additional cases to unit tests; Miscellaneous tweaks; BREAKING CHANGES: Renamed ProcessSymbol event to EvaluateSymbol; Renamed ProcessFunction event to EvaluateFunction; Changed FunctionEventArgs.Parameters from List<T> to array.

  • .NETStandard 2.0

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.0 161 4/10/2020
2.0.9 55 4/8/2020
2.0.8 45 4/8/2020
2.0.7 53 4/8/2020
2.0.6 77 4/7/2020
2.0.5 46 4/6/2020
2.0.4 86 4/5/2020
2.0.3 110 4/4/2020
2.0.2 88 4/2/2020
2.0.1 83 3/4/2020
2.0.0 120 3/4/2020
1.0.1 128 8/5/2019
1.0.0 99 7/7/2019
Show less