Commit graph

29 commits

Author SHA1 Message Date
Alexander Kiryukhin
a969571772
Merge pull request #25 from phpfui/Exception_messages
Exception Messages
2018-09-06 20:37:48 +03:00
Bruce Wells
7db873a636 Added variable type to diagnostic message 2018-09-05 18:17:05 -04:00
Bruce Wells
af2436d7cc Exception Messages
Basically the token that is causing the exception for better diagnostics.
2018-08-27 17:47:28 -04:00
NeonXP
b04cf54aa3 Merge branch 'dev' of github.com:NeonXP/MathExecutor into dev 2013-09-18 20:35:19 +04:00
NeonXP
0b7e6b1b86 + added test for custom user functions 2013-09-18 20:34:51 +04:00
NeonXP
4b092895bc ~ remove callable for PHP 5.3 2013-09-18 20:27:46 +04:00
Alexander Kiryukhin
ec9e067421 Update README.md 2013-09-06 17:33:47 +04:00
NeonXP
e3bac0c101 ~Change readme 2013-09-06 17:30:48 +04:00
NeonXP
abc629a10b + Tests for scientific notation by AntonStoeckl 2013-09-06 16:43:45 +04:00
Alexander Kiryukhin
a0f031dc23 Merge pull request #6 from AntonStoeckl/master
Make TokenNumber aware of scientific notation
2013-09-06 05:39:10 -07:00
Anton Stöckl
31f4bc044d Make TokenNumber aware of scientific notation
Update the regex so scientific notation numbers work, e.g.:
'1 + 3.5E-8'
'1 + 3.5E8'
2013-09-06 10:05:10 +02:00
Alexander Kiryukhin
10c04a966f Update README.md 2013-09-06 08:35:55 +04:00
Alexander Kiryukhin
591b8b61c9 Update README.md 2013-09-06 08:32:03 +04:00
Alexander Kiryukhin
74cb31c8be Update README.md 2013-09-06 08:26:53 +04:00
NeonXP
46173b180f ~ Fix PHP 5.3 compatibility 2013-09-06 08:23:58 +04:00
NeonXP
5ce6a3ca43 ~ Fix PHP 5.3 compatibility 2013-09-06 08:21:31 +04:00
NeonXP
9cef8dbc79 + Added cache, which speeds up the repetitive calculations
+ Returned variables, because they need for cached expressions
2013-09-06 08:19:02 +04:00
NeonXP
4b08ec4b4d ~ PHP CS fixer 2013-09-06 05:43:22 +04:00
NeonXP
9cdc34290a Mass refactoring
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
2013-09-06 05:42:09 +04:00
Alexander Kiryukhin
f172123a0d Merge pull request #3 from ZhukV/master
Fix to PSR standart, fix tokenizer, fix function executor.
2013-08-03 04:15:02 -07:00
zhukv
eb9c365161 Fix to PSR standart, fix tokenizer, fix function executor. 2013-08-03 13:47:47 +03:00
Alexander 'NeonXP' Kiryukhin
253fb694a3 + Some comments 2013-03-17 07:30:25 +04:00
Alexander 'NeonXP' Kiryukhin
12ee083b5e Merge remote-tracking branch 'origin/master' 2013-03-17 07:26:53 +04:00
Alexander 'NeonXP' Kiryukhin
0779c4f3e2 + Added token parser
+ Added functions support
~ Rewrited most of code
2013-03-17 07:26:33 +04:00
Alexander Kiryukhin
a561541b3f Update composer.json 2013-03-14 04:41:01 +04:00
Alexander Kiryukhin
2df6097e80 Update README.md 2013-03-14 04:36:29 +04:00
Alexander Kiryukhin
d26b482b85 Update README.md 2013-03-14 04:36:17 +04:00
Alexander Kiryukhin
5b5fb4ff70 Update composer.json 2013-03-14 04:32:43 +04:00
NeonXP
a8bdd54346 Initial commit 2013-03-14 04:27:37 +04:00