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.

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
1.0.1 55 8/5/2019
1.0.0 56 7/7/2019