This project gives a mathematical parser for converting a simple string expression into a result which can be managed for using in other calculations, all in Java.

Using a couple lines of code, you'll be able to parse complex arithmetic expressions efficiently. This library is powered by Dijkstra's Shuting-yard algorithm.

The library has no dependencies with other external libraries.

Dependency

<dependency>
<groupId>com.google.code.mathparser-java</groupId>
<artifactId>mathparser-java</artifactId>
<version>1.0.0</version>
</dependency>

Expressions supported (Mar/09/2013)
- Arithmetic operations.

Working on (Mar/09/2013)
- Geometrical functions support

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow MathParser Java - Math Parser library

MathParser Java - Math Parser library Web Site

You Might Also Like
High-performance Open Source API Gateway Icon
High-performance Open Source API Gateway

KrakenD is a stateless, distributed, high-performance API Gateway that helps you effortlessly adopt microservices

KrakenD is a high-performance API Gateway optimized for resource efficiency, capable of managing 70,000 requests per second on a single instance. The stateless architecture allows for straightforward, linear scalability, eliminating the need for complex coordination or database maintenance.
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
1
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 0 / 5

User Reviews

  • Great piece of software, saved me counting injuries from banging my head on the keyboard trying to parse a string as an expression. Just have one complaint, which is the ability to add decimal numbers into an expression without throwing an InvalidCharacterException error (Example 5+.5).
Read more reviews >

Additional Project Details

Languages

English, Spanish

Intended Audience

Education, Developers, End Users/Desktop, Testers

Programming Language

Java

Related Categories

Java Library Management Software, Java Mathematics Software

Registered

2013-03-09