- Multi-expression math parser. (all intermediate values are saved in results)
- Produces Tree based evaluator that can be reused
- Supports custom number implementations BigDecimal, Double. Can be easily extended to use number classes
- Supports per expression Rounding mode or MathContext
- Supports simple logical If(boolean,truthy,falsy) expressions
- BigDecimal trigs are not yet implemented actively looking for better approximation then Double to BigDecimal
- Test Coverage at 91% however there still maybe edge cases that are not accounted for.
Antrl4 is utilized to create a flexible lexer and parser which is open for adding features in the future
#TODO
- look into using immutables instead current value classes
- need better docs