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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.0 204 4/10/2020
2.0.9 83 4/8/2020
2.0.8 73 4/8/2020
2.0.7 79 4/8/2020
2.0.6 109 4/7/2020
2.0.5 73 4/6/2020
2.0.4 114 4/5/2020
2.0.3 143 4/4/2020
2.0.2 114 4/2/2020
2.0.1 106 3/4/2020
2.0.0 150 3/4/2020
1.0.1 165 8/5/2019
1.0.0 125 7/7/2019
Show less