Simple library for arithmetic expression pasring and evaluating

J

John Doe

Hello,

i'm searching for a simple java library wich has methods for parsing and
evaluating (with float or double) simple arithmetic expression. Let's
say it can use the 4 operators ans some cos/sin/tan/... functions.

I'm not searching for a CAS (Computer Algebra Systems) but just a
parser, which give an AST (Asbract Syntax Tree), and an evaluator to
calulate the result of the expression as a float or double.

The library must be free (0$), open source not needed.

Please post if you know such a library.

Thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top