| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* Documentation fixes (#34)
Fixing typos in and clarifying documentation.
* MathExecutor allow override default operators, functions and vars (#36)
|
|
|
|
|
|
| |
Updated the documentation.
Unit tests for strings.
DivisionByZeroException support.
|
|\ |
|
| |\ |
|
| | |\ |
|
| | | | |
|
| | | | |
|
| |/ /
| | |
| | |
| | | |
Basically the token that is causing the exception for better diagnostics.
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
Changed array() to [] syntax.
Added variable in question to unknown variable exception.
Added getVar and getVars accessor functions.
Added getOperators and getFunctions accessor functions for completeness.
Extended all Exceptions off MathExecutorException.
|
|/ |
|
|
|
|
| |
+ Returned variables, because they need for cached expressions
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Some changes:
+ Added support of functions with multiple arguments
+ Added some default function (min, max, avg). just example of multiple arguments :)
- Removed variables support (I think they pointless)
~ All tokens now in individual classes
~ Parsing based on regular expressions
~ Fix negative numbers
~ Fix grouping with brackets
|
|
|