50 Commits

Author SHA1 Message Date
jos
078f1dd69f Renamed methods .eval to .evaluate, updated all docs and examples accordingly 2019-01-16 10:11:32 +01:00
Eric Mansfield
d23d8c71a4 Chained conditionals (#1267)
* Minimally working

* Added tests, toString

* Added tests for evaluation

* Minor changes

* Added a line in the docs about chained conditionals

* Documentation, replacing var and let with const
2018-10-04 20:26:39 +02:00
jean-emmanuel
710ed1e58f Add support for single quotes strings 2018-08-04 10:27:10 +02:00
jos
8b5eb89a02 Minor tweaks in the docs 2018-06-16 14:57:28 +02:00
jos
b3b96749bf Refactored var into const/let, and removed a lot of semicolons 2018-06-13 12:21:14 +02:00
jos
cf5c1c1af8 Fixes #1054: renamed eye to identity 2018-06-06 10:52:08 +02:00
Jos de Jong
cdda817d9f
Merge pull request #1036 from ericman314/implicit-multiplication
Implicit multiplication
2018-02-04 11:55:15 +01:00
Eric Mansfield
e0b8640ab4 Added more examples for implicit multiplication 2018-02-03 14:26:04 -07:00
Eric Mansfield
cd5381a64f Minor formatting 2018-02-03 11:39:37 -07:00
Eric Mansfield
3f62bd9ebd Finished docs 2018-02-03 11:32:17 -07:00
Eric Mansfield
260bb8d823 Halfway done with docs 2018-02-03 11:01:10 -07:00
denisx
b5729262af
Fix Bitwise xor sample result 2018-01-12 21:50:45 +03:00
jos
e7766e4468 Replaced examples resulting in round-off errors to prevent confusion (see #910) 2017-08-02 20:02:51 +02:00
jos
469e6bf3cf Fixed #895: added support for the dollar character $ in symbol names 2017-07-10 20:29:30 +02:00
jos
7152142661 Fixed #732: Allow letter-like unicode characters like Ohm \u2126 2016-11-18 19:19:17 +01:00
H.D. Sarson
04732a2456 Edited description of string operations to include setting values in strings 2016-11-08 14:58:43 +00:00
H.D. Sarson
356e2cf096 tidied up example so it is easier to read 2016-11-08 14:40:20 +00:00
Harry Sarson
0428d0cf80 Changed expressions/syntax in docs to represent the actaul result of string opperations. 2016-11-07 20:27:51 +00:00
Harry Sarson
b6a96fa76a Changed ',' to ';' in doc's to fix typo 2016-11-07 19:43:22 +00:00
jos
20a571f38d Fixed #688: Describe allowed variable names in the docs 2016-10-21 16:50:51 +02:00
jos
094274762b Added some docs on creating a typed function in the expression parser (see #665) 2016-05-22 15:40:14 +02:00
jos
1a45d520ba Clarified the docs on string concatenation (see #664) 2016-05-22 14:54:42 +02:00
jos
6f1094a309 Clarified the docs on string concatenation (see #664) 2016-05-22 14:49:57 +02:00
jos
c8d41fc5b4 Restored support for implicit multiplications like (2+3)(4+5) 2016-03-19 20:16:54 +01:00
jos
15aca5e4d0 Changed casing of the values of config options number and matrix to match the actual name of the classes. 2016-03-04 19:41:54 +01:00
jos
e152c9943c Fixed a lot of broken links 2016-03-04 16:56:19 +01:00
jos
d9b9902842 Moved functions.md and classes.md to /reference 2016-03-03 21:16:06 +01:00
jos
2b7c00e481 Updated syntax.md 2016-01-14 21:50:59 +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
99552744f6 Added docs and an example on objects 2016-01-03 19:47:41 +01:00
Tomek Wiszniewski
aef0d74065 Fix typo 2015-09-15 18:12:02 +02:00
Eric Mansfield
377be29eb6 Fix my typos 2015-08-03 23:34:30 -06:00
Eric
f5d166a809 Made an attempt at derived units with simplification
Updated unit tests
Updated examples
Updated docs
2015-08-04 05:26:00 +00:00
jos
a92b978036 Merged develop into v2 2015-06-07 15:57:41 +02:00
jos
be98cf613d Updated docs of add to reflect changed behavior for strings 2015-05-20 19:59:43 +02:00
Devan Patel
f91d8a893d Fixing grammatical issues in Syntax.md 2015-05-15 15:01:31 -04:00
jos
0c1e9deeeb Implemented configuration value {number: 'fraction'}. Added docs and example for fractions. 2015-05-12 14:40:47 +02:00
jos
2f137f5885 Added header "Precedence" 2015-02-24 20:57:45 +01:00
Ole Kröger
4c8dda8824 [3,6,9] for 1*3,2*3,3*3 2015-02-19 15:37:04 +01:00
jos
904f4ed8df Added some docs about converting a unit to a number with the expression parser 2015-01-05 21:07:00 +01:00
jos
7411e02889 Improved a code example 2014-12-29 09:37:23 +01:00
jos
b1c29bc8cd Fixed issues with the pipe character in markdown 2014-12-27 13:05:23 +01:00
jos
8b253f050b Renamed function select to chain 2014-12-25 17:05:29 +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
5a3e55f39b Added docs on bitwise and logical functions for expression parser 2014-12-23 21:25:34 +01:00
jos
af08c269f3 Added operators &, |, <<, >>, >>> not, and, or to the expression parser 2014-12-23 16:25:32 +01:00
jos
423909e6f1 Changed constructor of RangeNode to new RangeNode(start: Node, end: Node [, step: Node]). 2014-11-13 21:25:37 +01:00
jos
72a1b03850 Documented expression tree API. Some internal refactoring in nodes. 2014-11-12 22:30:15 +01:00