aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Added simple coc (#37)Alexander Kiryukhin2019-01-101-0/+9
| | | | | | * Added simple coc * Fix
* MathExecutor allow override default operators, functions and vars (#36)Timur2019-01-102-32/+78
|
* Documentation fixes (#34)Bruce Wells2018-12-201-6/+6
| | | | Fixing typos in and clarifying documentation.
* Fixed Lexor to correctly generate reverse polish notation (#33)v0.6Bruce Wells2018-11-263-133/+151
| | | | | | * Updated from NeonXP/MathExecutor * Fixed function in () block issue
* Division By Zero Exception supportv0.5Bruce Wells2018-10-310-0/+0
| | | | | | Updated the documentation. Unit tests for strings. Added more unit tests. DivisionByZeroException support.
* Merge branch 'master' into masterBruce Wells2018-10-316-49/+167
|\
| * Division By Zero Exception supportBruce Wells2018-10-316-49/+167
| | | | | | | | | | | | Updated the documentation. Unit tests for strings. DivisionByZeroException support.
| * 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
* | | Support for better invalid expression detection and divide by zero (#30)Bruce Wells2018-10-258-4/+111
| |/ |/| | | | | | | | | | | | | * Additional validation for bad expressions (*+ for example) * Removing DivisionByZeroException testing for now Added more unit tests.
* | 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