Javaluator Icon

Javaluator

A java infix evaluator based on "Shunting Yard" algorithm.

4 Recommendations
18 Downloads (This Week)
Last Update:
Download Javaluator-v1.2.3.zip
Browse All Files

Description

Evaluate an arithmetic expression is as simple as:
Double result = new DoubleEvaluator().evaluate("(e^3-1)*sin(pi/4)*ln(pi^2)").

But Javaluator provides you with much more ...

Key features:
- Functions support, including variable argument count.
- Constants support: e, pi, etc ...
- Variables support: Example sin(x) for x = pi/4.
- Highly configurable: Reduce the built-in operator or function sets, define your own brackets.
- Extensible: Define your own grammar, or extends the existing one.
- Localizable: Define localized names for functions or constants.
- Syntax check
- Small footprint: <16kB, no additionnal library required.
- Fully documented

Please visit the project site to learn more : http://javaluator.sourceforge.net

If you use Javaluator in your product, we will be happy to add a link to your product in the Javaluator web site. Send an email to javaluator@astesana.net.

If you think Javaluator is valuable, vote up below.

Javaluator Web Site

Update Notifications





User Ratings

 
 
4
0
Write a Review

User Reviews

  • Posted by Fathzer 2012-11-20

    The Wikipedia page about operator precedence explains Javaluator uses the standard operator precedence (-2^2=-4). Excel or bash shell script use another convention where -2^2=4. This can be set using the DoubleEvaluator.Style class in version 1.2.1. Support is available through the tickets and the discussion tabs.

  • Posted by solo 2012-11-16

    Works great, but it is hard to get help. Maby the javaluator should have had a forum? Minor bug however: -2^2 = -4 (-2)^2 = 4

  • Posted by Mason 2012-11-02

    works great.

Read more reviews

Additional Project Details

Intended Audience

Developers

Programming Language

Java

Registered

2012-08-14

Icons must be PNG, GIF, or JPEG and less than 1 MiB in size. They will be displayed as 48x48 images.