Skip to content

A simple math expression parser, which builds node trees for quick execution.

Notifications You must be signed in to change notification settings

DomMarcone/MathNodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MathNodes

MathNodes is a simple C++ math expression parser. It's node structure is designed for quick, repetetive calculations of floating point numbers.

Please refer to MathNodesTest.cpp as it's designed to be the simplest example on how to add external variables, and functions. It also contains an infinite loop, with an exit funciton added to the MathNodeBuilder object.

To get started with the test toolkit, run

#clone the repo
git clone https://github.com/DomMarcone/MathNodes

#enter the repo and create a build directory
cd MathNodes
mkdir build

#and, finally, run cmake
cmake ..

parse is a trivial program which can parse and give the results of simple math expressions. iparse is a slighly more robust inline parser, as it has built in help functions and can accept command line arguments. Please run iparse --help to get a full list of supported features.

About

A simple math expression parser, which builds node trees for quick execution.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published