This is a math evaluator / calculator, written 100% from scratch.
I used my own library (djena) as the base building blocks for implementing this.
They both use parser combinators for parsing the input.
It supports the following features:
5+5
, 23/18
, etc.(5-2)*3)
5 + 4
and 5+4
are equivalent50/2*2+10
gets evaluated to 60
, not 22.5
PI
and TAU
sin
, cos
, abs
, pow
The source code for this can be found on GitHub.