NReco.LambdaParser 1.0.12

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.12
dotnet add package NReco.LambdaParser --version 1.0.12
<PackageReference Include="NReco.LambdaParser" Version="1.0.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NReco.LambdaParser --version 1.0.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NReco.LambdaParser, 1.0.12"
For F# scripts that support #r syntax, copy this into the source code to reference the package.
// Install NReco.LambdaParser as a Cake Addin
#addin nuget:?package=NReco.LambdaParser&version=1.0.12

// Install NReco.LambdaParser as a Cake Tool
#tool nuget:?package=NReco.LambdaParser&version=1.0.12
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.12 changes:
- fixed an issue when comparison result is used as an argument in a method call #30

v.1.0.11 changes:
- removed legacy Portable targets that cause build problems in some environments

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

NuGet packages (9)

Showing the top 5 NuGet packages that depend on NReco.LambdaParser:

Package Downloads
ExtendedXmlSerializer
An extensible Xml Serializer for .NET that builds on the functionality of the classic XmlSerializer with a powerful and robust extension model.
LJH.DO
数据访问组件,有用到批量插入、插入后返回值的功能需要安装具体数据库类型的包,如LJH.DO.SqlServer 1. netcore升级到3.1
TaxSynapse.Account.Plugin
This package allow create yours functions to extend the Tax Synapse core functionality
agent-core
The actual agent, in lib form so as to be embeddable and easy to package in different ways.
Transformalize.Transform.LambdaParser
Transformalize Transform using NReco.LambdaParser

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on NReco.LambdaParser:

Repository Stars
ExtendedXmlSerializer/home
A configurable and eXtensible Xml serializer for .NET.
dalenewman/Transformalize
Configurable Extract, Transform, and Load
Dotsarecool/DiztinGUIsh
A Super NES ROM Disassembler

Version History

Version Downloads Last updated
1.0.12 22,965 7/8/2020
1.0.11 61,669 12/13/2019
1.0.10 21,778 8/19/2019
1.0.9 3,540 4/17/2019
1.0.8 47,082 9/10/2018
1.0.7 35,306 10/9/2017
1.0.6 1,493 7/11/2017
1.0.5 3,781 2/25/2017
1.0.4 2,353 9/15/2016
1.0.3 1,029 8/1/2016
1.0.2 763 7/4/2016
1.0.1 1,249 4/22/2016
1.0.0 928 1/29/2016