Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix single quotes parsing (#41) | Alexander Kiryukhin | 2019-01-11 | 21 | -162/+196 |
| | | | | | | | | | | * Fix single quotes parsing Fix e-mails Some small fixes * Mistake in test * More PHP versions | ||||
* | Replaceable operators (#38)v0.7 | Bruce Wells | 2019-01-10 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | * Updated from NeonXP/MathExecutor * Fixed function in () block issue * Fixing typos in and clarifying documentation. * Syncing from origin (#3) * Documentation fixes (#34) Fixing typos in and clarifying documentation. * MathExecutor allow override default operators, functions and vars (#36) * Allow for operators to be replaced based on regex expression | ||||
* | MathExecutor allow override default operators, functions and vars (#36) | Timur | 2019-01-10 | 1 | -3/+8 |
| | |||||
* | Fixed Lexor to correctly generate reverse polish notation (#33)v0.6 | Bruce Wells | 2018-11-26 | 1 | -130/+133 |
| | | | | | | * Updated from NeonXP/MathExecutor * Fixed function in () block issue | ||||
* | Division By Zero Exception support | Bruce Wells | 2018-10-31 | 3 | -1/+66 |
| | | | | | | Updated the documentation. Unit tests for strings. DivisionByZeroException support. | ||||
* | Removing DivisionByZeroException testing for now | Bruce Wells | 2018-10-25 | 1 | -4/+0 |
| | | | | Added more unit tests. | ||||
* | Additional validation for bad expressions (*+ for example) | Bruce Wells | 2018-10-24 | 6 | -1/+57 |
| | |||||
* | Fixed merge error | Bruce Wells | 2018-09-12 | 1 | -13/+0 |
| | |||||
* | Merge branch 'master' into support_for_double_quoted_strings | Bruce Wells | 2018-09-12 | 1 | -0/+12 |
|\ | |||||
| * | Merge branch 'master' into dev | Alexander Kiryukhin | 2018-09-06 | 4 | -5/+27 |
| |\ | |||||
| | * | Merge branch 'master' into getters_for_function_and_operators | Alexander Kiryukhin | 2018-09-06 | 3 | -5/+5 |
| | |\ | |||||
| | * | | Add ability to get functions and operators that have been registered | Bruce Wells | 2018-08-31 | 1 | -0/+22 |
| | | | | |||||
| * | | | Exception Messages | Bruce Wells | 2018-08-28 | 2 | -4/+4 |
| |/ / | | | | | | | | | | Basically the token that is causing the exception for better diagnostics. | ||||
* | / | Support for double quoted strings | Bruce Wells | 2018-09-12 | 5 | -22/+73 |
| |/ |/| | | | | | | | | | | | | | 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. | ||||
* | | Fixes exponentiation operator | ochi51 | 2017-09-12 | 1 | -2/+2 |
| | | |||||
* | | Bug fixes about "Undefined offset -1" if stack is empty array and token ↵ | ochi51 | 2017-09-12 | 1 | -2/+2 |
| | | | | | | | | association is RIGHT_ASSOC | ||||
* | | Specifically check for 0 in division to allow for negative operations | bajb | 2016-04-01 | 1 | -1/+1 |
| | | |||||
* | | Avoid division by zero | bajb | 2016-04-01 | 1 | -1/+1 |
|/ | |||||
* | Make TokenNumber aware of scientific notation | Anton Stöckl | 2013-09-06 | 1 | -1/+1 |
| | | | | | Update the regex so scientific notation numbers work, e.g.: '1 + 3.5E-8' '1 + 3.5E8' | ||||
* | ~ Fix PHP 5.3 compatibility | NeonXP | 2013-09-06 | 1 | -2/+3 |
| | |||||
* | ~ Fix PHP 5.3 compatibility | NeonXP | 2013-09-06 | 1 | -1/+1 |
| | |||||
* | + Added cache, which speeds up the repetitive calculations | NeonXP | 2013-09-06 | 4 | -4/+70 |
| | | | | + Returned variables, because they need for cached expressions | ||||
* | Mass refactoring | NeonXP | 2013-09-06 | 22 | -355/+847 |
| | | | | | | | | | | | 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 | ||||
* | Fix to PSR standart, fix tokenizer, fix function executor. | zhukv | 2013-08-03 | 4 | -0/+355 |