CogPar
A versatile parser for mathematical expressions.
 All Classes Functions Variables
CogPar Documentation

CogPar is lightweight but versatile parser for mathematical expressions.It can be used to analyse expressions and store them in an internal data structure for later evaluation. Repeated evaluation of the same expression using CogPar is fast.

CogPar comes with a highly configurable tokenizer which can be adapted for your own needs.

Arbitrary named variables are supported and values can be assigned in a single line of code.

The parser, it's grammar an the tokenizer are well documented. You can read more about the internal workings of CogPar in these posts.

CogPar is distributed under the MIT license, so feel free to use it in your own projects.

To download CogPar, go to the CogPar project page.

CogPar in Java Applications

CogPar is currently used in the following applications:

Android Applications