Java library for parsing and evaluating math expressions
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
LICENSE
README.md
pom.xml

README.md

Features:

-parse math expressions;

-evaluate math expressions;

-convert from infix to postfix notation;

-calculate expression in postfix notation;

-implements the shunting-yard algorithm;

-understands complex numbers.

Usage:

Add the repo to your pom.xml:

<repositories>
    <repository>
        <id>bracer-mvn-repo</id>
        <url>https://raw.github.com/dtitov/bracer/mvn-repo/</url>
        <snapshots>
            <enabled>true</enabled>
            <updatePolicy>always</updatePolicy>
        </snapshots>
    </repository>
</repositories>

Then add the dependency:

        <dependency>
            <groupId>io.github.autsia</groupId>
            <artifactId>bracer</artifactId>
            <version>~</version>
        </dependency>

Except as otherwise noted, this library is licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html)