NuGet.MultiParse
1.0.0
dotnet add package NuGet.MultiParse --version 1.0.0
NuGet\Install-Package NuGet.MultiParse -Version 1.0.0
<PackageReference Include="NuGet.MultiParse" Version="1.0.0" />
paket add NuGet.MultiParse --version 1.0.0
#r "nuget: NuGet.MultiParse, 1.0.0"
// Install NuGet.MultiParse as a Cake Addin #addin nuget:?package=NuGet.MultiParse&version=1.0.0 // Install NuGet.MultiParse as a Cake Tool #tool nuget:?package=NuGet.MultiParse&version=1.0.0
MultiParse is a mathematical expression parser written in the .NET framework. The focus of the project is building a highly customizable expression parser. This involves custom types, custom operators and custom functions. Also dynamic/static variables are perfectly feasible.
Find the project with more documentation at https://multiparse.codeplex.com/!
Features:
- Custom user-defined data types
C# native data types have been implemented
Boolean/bool
Byte/byte, Char/char, SByte/sbyte
Int16/short, UInt16/ushort, Int32/int, UInt32/uint, Int64/long, UInt64/ulong, Decimal/decimal
String/string (supports C# escape sequences including unicode \xX(XXX) \uXXXX and \UXXXXXXXX)
Single/float, Double/double
DateTime is not implemented as it does not have a literal format in C#. But it can be implemented by the user.
- Variables, static and dynamic.
- Custom user-defined operators
Default C# binary operators have been implemented for all native data types
Arithmetic operators: +, -, *, /, %
Relational operators: <=, >=, <, >, ==, !=
Logical operators: &, |, ^
Conditional operators: ||, &&
Default C# unary operators have been implemented for all native data types
Arithmetic operators: +, -
Logical operators: ~
Conditional operators: !
Explicit type casts: eg. (Boolean), (int), etc.
- Customizable functions
Default C# Math functions have been implemented
Generic functions: Abs(), Ceiling(), Exp(), Floor(), Log(), Log10(), Max(), Min(), Pow(), Round(), Sign(), Sqrt(), Truncate()
Trigometric functions: Acos(), Asin(), Atan(), Atan2(), Cos(), Sin(), Tan()
Hyperbolic functions: Cosh(), Sinh(), Tanh()
- Compilation at first evaluation
Subsequent evaluations will use the compiled action queue.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- log4net (>= 1.2.10)
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 188 | 4/7/2014 |