A lil one class library to quickly evaluate simple math expressions. Or just to parse it and apply syntax highlighting.
(just click the jitpack badge)
Maven (edit pom.xml)
<repositories>
...
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
...
</repositories>
<dependencies>
...
<dependency>
<groupId>com.github.AndyNoob</groupId>
<artifactId>math-expressions</artifactId>
<version>INSERT VERSION HERE!!!!!!</version>
</dependency>
...
</dependencies>
Gradle (edit build.gradle)
repositories {
// ...
maven { url 'https://jitpack.io' }
// ...
}
dependencies {
// ...
implementation 'com.github.AndyNoob:math-expressions:INSERT VERSION HERE !!!'
// ...
}