Info
Version: | 3.0.13 |
Author(s): | Rushui Guan |
Last Update: | Wednesday, May 24, 2023 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://rushuiguan.github.io/expression/ |
NuGet Url: | https://www.nuget.org/packages/Albatross.Expression |
Install
Install-Package Albatross.Expression
dotnet add package Albatross.Expression
paket add Albatross.Expression
Albatross.Expression Download (Unzip the "nupkg" after downloading)
Dependencies
- System.Security.Principal.Windows(>= 4.7.0)
- System.Text.Json(>= 4.7.2)
Tags
The api tokenizes the expression text and create a tree model from the tokens. Using the model, it can evaluate the expression or convert it to a expression of different format. Some applications revert the process by creating the model first and using it to generate certain expression such as a sql query statement. The api also contains a useful ExecutionContext class that allows evaluation of expressions with variables.
The variables can be read internally or directly from external objects.