aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Removing DivisionByZeroException testing for nowBruce Wells2018-10-252-8/+17
| | | | Added more unit tests.
* Additional validation for bad expressions (*+ for example)Bruce Wells2018-10-248-3/+101
|
* Merge pull request #1 from NeonXP/masterBruce Wells2018-09-1215-61/+180
|\ | | | | Merge from upstream master
| * Merge pull request #28 from phpfui/support_for_double_quoted_stringsAlexander Kiryukhin2018-09-1213-57/+111
| |\ | | | | | | Support for double quoted strings
| | * Fixed merge errorBruce Wells2018-09-121-13/+0
| | |
| | * Merge branch 'master' into support_for_double_quoted_stringsBruce Wells2018-09-125-6/+40
| | |\ | | |/ | |/|
| * | Update .travis.ymlAlexander Kiryukhin2018-09-061-3/+3
| | |
| * | Merge pull request #27 from NeonXP/devv0.3Alexander Kiryukhin2018-09-063-4/+8
| |\ \ | | | | | | | | Dev
| | * \ Merge branch 'master' into devAlexander Kiryukhin2018-09-0610-7/+74
| | |\ \ | | |/ / | |/| |
| * | | Merge pull request #26 from phpfui/getters_for_function_and_operatorsAlexander Kiryukhin2018-09-064-3/+64
|/| | | | | | | | | | | Getters for function and operators
| * | | Merge branch 'master' into getters_for_function_and_operatorsAlexander Kiryukhin2018-09-069-11/+31
| |\ \ \ | |/ / / |/| | |
| * | | Add ability to get functions and operators that have been registeredBruce Wells2018-08-312-0/+43
| | | |
| | * | Merge pull request #25 from phpfui/Exception_messagesAlexander Kiryukhin2018-09-063-5/+5
| |/| | | | | | | | | | Exception Messages
| | * | Added variable type to diagnostic messageBruce Wells2018-09-061-1/+1
| | | |
| | * | Exception MessagesBruce Wells2018-08-283-5/+5
| |/ / | | | | | | | | | Basically the token that is causing the exception for better diagnostics.
| * | Merge branch 'dev' of github.com:NeonXP/MathExecutor into devNeonXP2013-09-181-2/+2
| |\ \
| | * | Update README.mdAlexander Kiryukhin2013-09-061-2/+2
| | | |
| * | | + added test for custom user functionsNeonXP2013-09-181-0/+10
| | | |
| * | | ~ remove callable for PHP 5.3NeonXP2013-09-181-1/+1
| |/ /
| * | ~Change readmeNeonXP2013-09-061-1/+9
| | |
| | * 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