jos
|
1dd3a0e492
|
Expression parser now allows assignments inside objects, indexes, and function arguments
|
2016-03-03 19:25:42 +01:00 |
|
jos
|
a60a70e6b9
|
Store dot notation in IndexNode
|
2016-02-27 11:36:47 +01:00 |
|
jos
|
4d1cd06285
|
Implemented new AssignmentNode and everything around it. Changed matrices not to clone elements when getting/setting a subset
|
2016-02-26 15:30:17 +01:00 |
|
jos
|
9173fbd3b8
|
Large refactoring of nodes: AssignmentNode. UpdateNode, AccessorNode, IndexNode
|
2016-02-25 15:02:44 +01:00 |
|
jos
|
fad5d8cc07
|
Merged parseFunctions and parseIndex into parseAccessors. Restricted support for implicit multiplication, execute as accessors instead
|
2016-01-09 21:11:29 +01:00 |
|
jos
|
1a1461cf89
|
Assignments in the expression parser now return the assigned value rather than the created or updated object (see #533)
|
2016-01-08 21:47:09 +01:00 |
|
jos
|
04d933a474
|
Added some (skipped) tests
|
2016-01-05 20:42:35 +01:00 |
|
jos
|
5ee4b81c62
|
Implemented dot notation for object properties
|
2016-01-03 14:56:29 +01:00 |
|
jos
|
8d3d58e724
|
Implemented ObjectNode and object support in the expression parser
|
2016-01-02 23:00:14 +01:00 |
|
jos
|
050573f4f3
|
Some refactoring
|
2016-01-02 20:46:12 +01:00 |
|
jos
|
2adf01e548
|
Getting/setting object properties working (still needs a refactoring step)
|
2016-01-02 15:16:12 +01:00 |
|
jos
|
2ef1a96094
|
Fixed broken unit test
|
2015-12-05 11:57:28 +01:00 |
|
jos
|
9ffab397b6
|
Fixed #485: Scoping issue with variables both used globally as well as in a function definition
|
2015-11-28 21:20:25 +01:00 |
|
jos
|
d9f237d29b
|
Added support in the expression parser for mathematical alphanumeric symbols (see #265)
|
2015-09-25 20:47:38 +02:00 |
|
jos
|
0dfc8d1d3e
|
Fixed inconsistent parsing of implicit multiplication (see #322)
|
2015-09-13 21:40:14 +02:00 |
|
jos
|
efcd0cc1fe
|
Fixed #463: inconsistent handling of implicit multiplication
|
2015-09-13 21:13:35 +02:00 |
|
jos
|
33370bfe73
|
Fied #265: added support for unicode characters in the expression parser: greek letters and latin letters with accents
|
2015-08-10 21:04:49 +02:00 |
|
jos
|
f19cfb4394
|
Reintroduced node.eval(scope). Updated some docs and examples
|
2015-07-18 10:21:48 +02:00 |
|
jos
|
936386c96c
|
Fixed #405: Parser throws error when defining a function in a multiline expression
|
2015-07-11 20:21:49 +02:00 |
|
jos
|
c810981238
|
Method Node.compile() no longer needs math to be passed as argument.
|
2015-05-27 13:30:35 +02:00 |
|
Rogelio J. Baucells
|
9b6a9c2298
|
Range.forEach() and map() API changes
Range.forEach() and map() API change to match Matrix
|
2015-05-21 13:17:17 -04:00 |
|
Rogelio J. Baucells
|
7579412f7d
|
Index dimension with immutable matrix
|
2015-05-20 17:41:03 -04:00 |
|
rjbaucells
|
799ccc9463
|
set from parser
|
2015-05-13 22:45:28 -04:00 |
|
rjbaucells
|
6f8fca77cb
|
tests - final
|
2015-05-13 20:29:43 -04:00 |
|
jos
|
0c1e9deeeb
|
Implemented configuration value {number: 'fraction'}. Added docs and example for fractions.
|
2015-05-12 14:40:47 +02:00 |
|
Max Bruckner
|
dd0a5e3a68
|
Parse parentheses into ParenthesisNodes
|
2015-05-07 10:12:41 +02:00 |
|
jos
|
d3d3212633
|
Refactored all nodes into factory functions (see #342)
|
2015-04-26 21:25:31 +02:00 |
|
jos
|
8a68bb56e4
|
Merged math.js v1.5 into v2. Format support of functions eye and diag still needs to be fixed
|
2015-03-31 22:07:47 +02:00 |
|
Rogelio J. Baucells
|
2077c39885
|
Matrix inheritance implementation
|
2015-03-10 15:28:19 -04:00 |
|
Jos de Jong
|
81e56601d2
|
Merge branch 'develop' into v2
|
2015-03-09 20:19:12 +00:00 |
|
Rogelio J. Baucells
|
b4463d9ef3
|
Initial require() changes
|
2015-03-04 13:53:32 -05:00 |
|
Max Bruckner
|
9489fbf9dc
|
New generic toString for ConditionalNode
|
2015-03-01 10:35:03 +01:00 |
|
Max Bruckner
|
0e5a6e5a38
|
New generic toString for OperatorNode
|
2015-03-01 10:35:03 +01:00 |
|
jos
|
cdd7bb8a83
|
Updated to typed-function 0.6.2, fixing a couple of bugs. Conversion from BigNumber to Complex added.
|
2015-02-26 21:51:25 +01:00 |
|
jos
|
db4a004e58
|
Merge branch 'develop' into v2
Conflicts:
HISTORY.md
|
2015-02-20 19:56:12 +01:00 |
|
jos
|
f532155c7d
|
Refactored multiply to a typed-function
|
2015-02-07 21:03:26 +01:00 |
|
jos
|
8edf472478
|
Upgraded to typed-function v0.6.1, more functions refactored.
|
2015-02-07 20:29:32 +01:00 |
|
jos
|
86bcd55352
|
Changed the way transforms are registered internally, making Node.compile faster, and enabling lazy-loading constants
|
2015-01-13 10:48:52 +01:00 |
|
jos
|
3c7c3a2193
|
Upgraded to decimal.js v4.0.1
|
2014-12-25 17:47:45 +01:00 |
|
jos
|
97163135b2
|
Implemented xor operator ^| in the expression parser
|
2014-12-25 15:45:54 +01:00 |
|
jos
|
73b67bfc09
|
Removed logical not operator ! (so now we just have logical operators and, not, or, xor).
|
2014-12-25 14:21:16 +01:00 |
|
jos
|
2614ca6203
|
Added docs for xor, removed docs of _divide
|
2014-12-25 14:11:15 +01:00 |
|
jos
|
af08c269f3
|
Added operators &, |, <<, >>, >>> not, and, or to the expression parser
|
2014-12-23 16:25:32 +01:00 |
|
Favian Contreras
|
2a5b242091
|
Added boolean not to parser, and added corresponding test cases.
|
2014-12-17 01:14:33 -08:00 |
|
Favian Contreras
|
e73df48938
|
Removed fail test case for now functioning token '~'. Added test cases for it as well.
|
2014-12-15 04:00:52 -08:00 |
|
jos
|
9257ec3c33
|
Added unit tests for Node.map and Node.forEach
|
2014-11-15 13:16:32 +01:00 |
|
jos
|
20c96894ab
|
Enforcing implementation of _traverse on Nodes
|
2014-11-13 22:16:57 +01:00 |
|
jos
|
72a1b03850
|
Documented expression tree API. Some internal refactoring in nodes.
|
2014-11-12 22:30:15 +01:00 |
|
jos
|
db60d95438
|
Fixed 2e giving a syntax error instead of being parsed as 2 * e (see #229)
|
2014-11-08 15:27:22 +01:00 |
|
jos
|
7132a6f3c2
|
Fixed #221 for one-based implementations of map and forEach
|
2014-10-14 09:03:04 +02:00 |
|