Skip to content

tomvangreen/Expressions

Repository files navigation

Expressions

Java library to evaluate simple mathematical expressions.

Important: If you want to build this library locally using gradle, you currently have to create a file gradle.properties in the root directory. You can copy and rename the existing gradle.properties.example file. Otherwise the gradle tasks will fail.

The library tokenizes an input string, converts it into reverse polish notation using the "Shunting Yard" algorithm and provides a way to be evaluated. You can define the context of the evaluation, which means that you can provde own functions and operators and are not limited to the existing ones.

There is currently no documentation available. Check the existing test on how to use it.

About

Java based library to evaluate simple mathematical expressions.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages