41 Commits

Author SHA1 Message Date
josdejong
97cbb0093f Moved errors to their own namespace and folder 2014-04-11 18:02:29 +02:00
josdejong
492d7f4c4f Moved ArgumentsError from lib/type/ to lib/util/ 2014-04-06 21:25:46 +02:00
josdejong
585c5c3784 Moved the validation script from tests to the build script 2014-03-24 20:32:56 +01:00
josdejong
f48beee1f9 Added some more unit tests 2014-02-25 22:37:53 +01:00
josdejong
b7826bf65a Implemented function compile 2014-02-15 17:59:19 +01:00
josdejong
36c38982e5 ArgumentsError now extends Error instead of SyntaxError 2014-01-31 23:22:17 +01:00
josdejong
97be029d6e Removed need to use the function keyword for function assignments in the expression parser 2014-01-18 11:18:29 +01:00
josdejong
3f25831ee2 Moved parse tests 2014-01-07 21:12:28 +01:00
josdejong
00e55b917e Replaced eval with compile 2014-01-07 16:12:57 +01:00
josdejong
9e7c641302 Cleaned up ParamsNode 2014-01-05 21:58:13 +01:00
josdejong
bc05d8b9e8 Changed matrix index notation of expression parser from round brackets to square brackets 2014-01-05 21:52:13 +01:00
josdejong
f6acb12e4d Implemented expression compilation for 80% 2014-01-01 20:46:30 +01:00
josdejong
f89a9945e3 Removed deprecated function in, gives conflicts :( 2013-12-21 22:23:38 +01:00
josdejong
bdf7d44dd2 Added operator in to expression parser (alias of to) 2013-12-21 21:24:56 +01:00
Elijah Insua
be67514557 move the 'in' unit conversion keyword to 'to'
This also enables 'in' as an alias of 'inch'.  refs #120
2013-12-20 15:31:18 -07:00
josdejong
2b98831d84 Fixed #119: bug with negative temperatures 2013-12-14 14:26:30 +01:00
josdejong
d22168ea88 Added script for coverage report 2013-12-14 13:20:27 +01:00
josdejong
1d54a99bce More neat formatting of functions 2013-12-09 21:21:34 +01:00
josdejong
f2f1ae1f72 Renamed and flattened configuration settings 2013-12-07 11:39:45 +01:00
josdejong
b4257f6cd6 Fixed #118: mod and in not working as function 2013-12-06 09:55:30 +01:00
josdejong
f5ea5938a9 Renamed scientific notation to exponential in function format 2013-11-28 16:28:04 +01:00
josdejong
9566218b12 Function add can now handle mixed complex and big numbers 2013-11-27 15:21:02 +01:00
josdejong
279809fd79 Ranges and indexes can now handle big numbers by downgrading to numbers 2013-11-27 14:16:46 +01:00
josdejong
21735cf1c8 RangeNode can handle BigNumbers now (downgrades to numbers) 2013-11-27 13:18:01 +01:00
josdejong
80b8b34042 Implemented function config 2013-11-21 13:13:26 +01:00
josdejong
52337e4b94 Integrating the bignumber.js library in math.js. This is awesome! 2013-11-16 14:34:35 +01:00
josdejong
dd662ba948 Functions don't allow arguments of unknown type anymore 2013-11-15 21:33:38 +01:00
josdejong
5f1aee3550 Some fixes and improvements in the resize function 2013-11-07 22:42:21 +01:00
josdejong
d2e55a0132 Math.js must be instantiated now, static calls are no longer supported 2013-10-26 15:00:06 +02:00
josdejong
c8a289a08c Removed unnecessary .js suffix in module require statements 2013-10-20 14:01:31 +02:00
josdejong
e61d2f965b Fixes in the new function math.format(precision). Updated docs and tests. 2013-10-19 21:44:54 +02:00
josdejong
cc42c7dc26 Re-enabled test for mod operator 2013-10-08 17:03:15 +02:00
josdejong
f48c07bdd8 Getting or setting a subset of a matrix will automatically squeezed/unsqueezed the submatrix 2013-09-25 21:59:35 +02:00
josdejong
0dfdf3b2a2 Removed concatenation of nested arrays 2013-09-25 21:17:28 +02:00
josdejong
d2e07073c9 Fixed the readme on testing code coverage. 2013-08-31 21:35:53 +02:00
josdejong
47c4b4c3a7 Replaced functions get and set of Matrix with a single function subset 2013-08-31 21:20:02 +02:00
josdejong
2280451a55 Some more unit tests added to math.parse 2013-08-31 14:46:19 +02:00
josdejong
c6a5070b2f Restructured unit tests of math.parse 2013-08-31 14:27:14 +02:00
josdejong
f3d80044e2 Neatly separated unit tests for parse, eval, parser from each other 2013-08-31 13:45:57 +02:00
josdejong
6273ad998f Removed usage of math.eval from function unit tests 2013-08-31 10:53:14 +02:00
josdejong
eadb884af9 Moved around code and namespaces in order to separate expression parser related code. 2013-08-31 09:37:14 +02:00