Arpian 0.2.0
A MathParser using RPN supporting User-Defined Functions, Operators, Variables, Conditional Operators and more...
Install-Package Arpian -Version 0.2.0
dotnet add package Arpian --version 0.2.0
<PackageReference Include="Arpian" Version="0.2.0" />
paket add Arpian --version 0.2.0
#r "nuget: Arpian, 0.2.0"
// Install Arpian as a Cake Addin
#addin nuget:?package=Arpian&version=0.2.0
// Install Arpian as a Cake Tool
#tool nuget:?package=Arpian&version=0.2.0
Release Notes
* Fixed many minor bugs, thanks to Unit Tests.
* Added static MathParser.Calculate() method.
* Added Bitshift operators in MathParser.
* Fixed MathParser.AngleType.
* Removed Boolean type.
* CommonTokens merged into MathParser as ShareOperators, SharedFunctions, Constants and more.
* Made Portable class library.
* Two constants are automatically multiplied: e.g. 2pi changes to 2*pi.
* Added VariableAssignmentOperator and VariableShorthandOperator classes.
Generic Approach
-----------------------------------------------
Now, supports two Parsers: MathParser for Real numbers and MathParserComplex for Complex numbers.
These inherit from MathParserBase.
Many items have been made Generic like Function, Operator, Constant, Variable.
Replaced Scripting with MathParser.Manipulate
-----------------------------------------------
e.g. Let's work on a MathParser P.
P.Manipulate("var x"); // Declare a variable x (default value = 0).
P.Manipulate("var y = 1"); // Declare a variable y with an initial value 1.
P.Manipulate("x++"); // Increment x.
P.Manipulate("x += y*8+sin(x)"); // Complicated works
P.Manipulate("rem x"); // Remove variable x.
Dependencies
This package has no dependencies.
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.