Arpian 0.2.0

dotnet add package Arpian --version 0.2.0
NuGet\Install-Package Arpian -Version 0.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Arpian" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Arpian --version 0.2.0
#r "nuget: Arpian, 0.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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

A MathParser using RPN supporting User-Defined Functions, Operators, Variables, Conditional Operators and more...

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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
0.2.0 2,123 4/15/2016
0.1.0 1,185 3/10/2016

* 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.