Posted on Leave a comment

Pierlam.ExpressionEval v0.7 released

A new version of the ExpressionEval component is released today!

It’s the 0.7 version.

-Simplification of errors management: only one error class now: ExprError. 

        for licensing, parse, exec and config (variable definition and function attachment) 

-It’s now possible to get expression configuration errors on variable definitions (wrong syntax): 

        List<ExprError> ExpressionEval.GetListErrorExprConfig() 

 

-Calculation expression can now have more than two operands.

exp: a+b*c

The Component will apply default mathematical operators priority: First * and /, then + and -.

-Enum DoubleFunctionCallParamSeparators  renamed by DecimalAndFunctionSeparators.

-Add new ExpressionEval functions:

ClearAllVarDefinition() Clear all variables definitions in the component.

   RemoveAllFunctionAttachment() Remove All functions attachment in the component.

A Visual Studio solution is available on github at: https://github.com/Pierlam/ExpressionEval. This repository contains several code samples using this new version of the ExpressionEval library. See the folder TestExpressionEvalNetCoreApp in the solution to found code samples.

The component is available as a package on nuget here.

 

Posted on

Pierlam.ExpressionEval v0.6 released

A new version of the ExpressionEval component is released today!

It’s the 0.6 version.

The error management has been refactored. Some objects name have been simplified. ExprExecResult is now ExecResult, ExprParseResult is now ParseResult,…

The Xor logical operator (Exclusive Or) has been added.

A Visual Studio solution is available on github at: https://github.com/Pierlam/ExpressionEval. This repository contains several code samples using this new version of the ExpressionEval library. See the folder TestExpressionEvalNetCoreApp in the solution to found code samples.

The component is available as a package on nuget here.

Posted on

Pierlam.ExpressionEval v0.5 Released

A new version of the ExpressionEval component is released!

It’s the 0.5 number version.

Calculation expression is now implemented.
Example: ((a+12)*b)

Function call can now have until three parameters, managed type for parameters and for the function return value are: bool, int, string and double.
Example: fct(a,b,c)

And also, some bugs were fixed improving the execution stability.

The component is available as a package on nuget here.