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 |
---|---|
.NET Framework | net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
-
- log4net (>= 1.2.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 3,580 | 4/7/2014 |