v4.0.0
What's new
- Parlot is used instead of Antlr for parsing by Andrey Bykiev, Gustavo Mauricio de Barros and Sébastien Ros
GetParametersNames
no longer adds same parameter more than one time to the result by Gustavo Mauricio de Barros- xUnit is now used for unit tests by Gustavo Mauricio de Barros
- New DocFX website with articles and public API by Gustavo Mauricio de Barros
Breaking Changes
- .NET Framework 4.6.1 is no longer supported, please update to .NET Framework 4.6.2 or higher
- Renamed
EvaluateOptions
enum toExpressionOptions
- Renamed
EvaluateOptionsExtensions
class toExpressionOptionsExtensions
- Renamed
Expression.OriginalExpression
property toExpression.ExpressionString
- Renamed
Expression.ParsedExpression
property toExpression.LogicalExpression
- Renamed
Numbers
static class toMathHelper
- Removed
Expression.Compile
static method, please useLogicalExpressionFactory.Create
- Removed unused
BinaryExpressionType.Unknown
enum value Expression.Error
property now stores anException
object instead of astring
Expression.GetParametersNames
method now returns aList<String>
instead of astring[]
Credits
Nuget packages
https://nuget.org/packages/NCalcSync
https://nuget.org/packages/NCalcSync.signed