Singular Systems

Jep - Java Math Expression Parser

 

 


Support
Receive update notifications
Email:

Jep 3.2

Released Feb 12, 2008
Changes since 3.1:

  • Multiple expression support
  • Many enhancements to the configurable parser including:
  • Improved error reporting
  • Bitwise and Ternary operators
  • Hexadecimal numbers
  • and more enhancements...

Jep is a Java library for parsing and evaluating mathematical expressions. With this package you can allow your users to enter an arbitrary formula as a string, and instantly evaluate it. Jep supports user defined variables, constants, and functions. A number of common mathematical functions and constants are included.

Features

  • Small size (only 210KB as jar archive)
  • Fast evaluation
  • High precision using BigDecimals
  • Includes common math functions and operators
  • Supports Boolean expressions
  • Extendable and configurable architecture
  • Support for strings, vectors and complex numbers
  • Support for implicit multiplication
  • Allows declared or undeclared variables
  • Java 1.5 compatible
  • Supports Unicode characters
  • Extensive documentation
  • Includes JavaCC grammar from which the main classes are generated

Try it!

A trial version of Jep is available for download -- so please download it and give it a try! To purchase a Jep license, visit the Order page for more information.