aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Support for double quoted stringsBruce Wells2018-09-1213-55/+153
| | | | | | | | 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.
* Merge pull request #16 from Deisss/masterAlexander Kiryukhin2017-09-121-4/+0
|\ | | | | Removing the numeric test on setVar.
| * Removing the numeric test on setVar.charles VILLETTE2016-07-071-4/+0
| |
* | Merge pull request #20 from ochi51/masterAlexander Kiryukhin2017-09-126-5/+22
|\ \ | | | | | | Fixes exponentiation operator
| * | Fixes exponentiation operatorochi512017-09-125-3/+20
| | |
| * | Bug fixes about "Undefined offset -1" if stack is empty array and token ↵ochi512017-09-121-2/+2
|/ / | | | | | | association is RIGHT_ASSOC
* / Update composer.jsonv0.2stableAlexander Kiryukhin2017-03-101-1/+1
|/
* + Test for division by zeroAlexander Kiryukhin2016-04-011-1/+7
|
* Merge pull request #13 from bajb/masterNeonXP2016-04-011-1/+1
|\ | | | | Avoid division by zero
| * Specifically check for 0 in division to allow for negative operationsbajb2016-04-011-1/+1
| |
| * Avoid division by zerobajb2016-04-011-1/+1
|/
* Merge pull request #12 from waffle-iron/masterAlexander Kiryukhin2015-09-291-0/+1
|\ | | | | waffle.io Badge
| * add waffle.io badgeMaking GitHub Delicious.2015-09-291-0/+1
|/
* + Tests for scientific notation by AntonStoecklv0.1NeonXP2013-09-061-1/+4
|
* Merge pull request #6 from AntonStoeckl/masterAlexander Kiryukhin2013-09-061-1/+1
|\ | | | | Make TokenNumber aware of scientific notation
| * Make TokenNumber aware of scientific notationAnton Stöckl2013-09-061-1/+1
|/ | | | | Update the regex so scientific notation numbers work, e.g.: '1 + 3.5E-8' '1 + 3.5E8'
* Update README.mdAlexander Kiryukhin2013-09-061-0/+2
|
* Update README.mdAlexander Kiryukhin2013-09-061-3/+3
|
* Update README.mdAlexander Kiryukhin2013-09-061-1/+3
|
* ~ Fix PHP 5.3 compatibilityNeonXP2013-09-061-2/+3
|
* ~ Fix PHP 5.3 compatibilityNeonXP2013-09-061-1/+1
|
* + Added cache, which speeds up the repetitive calculationsNeonXP2013-09-068-11/+196
| | | | + Returned variables, because they need for cached expressions
* ~ PHP CS fixerNeonXP2013-09-061-3/+3
|
* Mass refactoringNeonXP2013-09-0626-682/+975
| | | | | | | | | | | 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
* Merge pull request #3 from ZhukV/masterAlexander Kiryukhin2013-08-0319-165/+476
|\ | | | | Fix to PSR standart, fix tokenizer, fix function executor.
| * Fix to PSR standart, fix tokenizer, fix function executor.zhukv2013-08-0319-165/+476
|/
* + Some commentsAlexander 'NeonXP' Kiryukhin2013-03-171-2/+29
|
* Merge remote-tracking branch 'origin/master'Alexander 'NeonXP' Kiryukhin2013-03-171-0/+3
|\
| * Update composer.jsonAlexander Kiryukhin2013-03-141-0/+3
| |
* | + Added token parserAlexander 'NeonXP' Kiryukhin2013-03-177-130/+513
|/ | | | | + Added functions support ~ Rewrited most of code
* Update README.mdAlexander Kiryukhin2013-03-141-3/+1
|
* Update README.mdAlexander Kiryukhin2013-03-141-1/+7
|
* Update composer.jsonAlexander Kiryukhin2013-03-141-1/+1
|
* Initial commitNeonXP2013-03-146-0/+294