NReco.LambdaParser 1.0.10

Runtime expressions parser and evaluator (formulas, conditions, method calls, properties/indexers etc). Builds LINQ expression tree and compiles it to lambda delegate with full support of dynamically typed variables.

Install-Package NReco.LambdaParser -Version 1.0.10
dotnet add package NReco.LambdaParser --version 1.0.10
<PackageReference Include="NReco.LambdaParser" Version="1.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NReco.LambdaParser --version 1.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Source code and examples: https://github.com/nreco/lambdaparser

v.1.0.10 changes:
- fixed issue with 'Object must implement IConvertible' (occurs when delegate argument doesn't implement IConvertible, even if conversion is not needed)

v.1.0.9 changes:
- defined +/- operations for datetime/timespan types #17
- added ILambdaValue for accessing real values in Expression produced by LamdbaParser #16
- added option to allow single equal sign '=' for comparison #13
- added netstandard2.0 build #15

v.1.0.8 changes:
- fixed parse error of calls chain like delegate().method1().method2()

v.1.0.7 changes:
- fixed evaluation of and/or conditions (exceptions like 'AndAlso / OrElse is not defined')

v.1.0.6 changes:
- introduced IValueComparer interface for custom values comparison (https://github.com/nreco/lambdaparser/issues/10)
- default ValueComparer implementation with options: NullComparison (MinValue, Sql), SuppressErrors
- starting from this version expression cache is instance specific (was global) because calculation result may depend on IValueComparer implementation

  • .NETStandard 1.3

  • .NETStandard 2.0

    • No dependencies.
  • Portable Class Library (.NETFramework 4.0, Silverlight 5.0, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)

    • No dependencies.
  • Portable Class Library (.NETFramework 4.5, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.10 613 8/19/2019
1.0.9 2,095 4/17/2019
1.0.8 21,847 9/10/2018
1.0.7 22,177 10/9/2017
1.0.6 1,163 7/11/2017
1.0.5 3,493 2/25/2017
1.0.4 1,643 9/15/2016
1.0.3 606 8/1/2016
1.0.2 455 7/4/2016
1.0.1 866 4/22/2016
1.0.0 544 1/29/2016