Commit Graph

64 Commits

Author SHA1 Message Date
Sebastian Schmidt
f0ab317961 Test functions with arbitrary argument amount
Implements #7
2019-03-19 19:05:21 +02:00
Sebastian Schmidt
fd3243e555 Implement functions with arbitrary argument amount
Implements #7
2019-03-19 18:58:53 +02:00
Sebastian Schmidt
8e898044c0 Document the aggregation operator
Documents #4
2019-03-19 18:49:59 +02:00
Sebastian Schmidt
55e8b51228 Add exponentiation operator
+ Add hat token
 + Add exponentiation operator
 + Document exponentiation operator
 + Test exponentiation operator

Implements #3
2019-03-19 18:42:50 +02:00
Sebastian Schmidt
93e8d867b4 Add exponentation operator
+ Add hat token
 + Add exponentation operator

Implements #3
2019-03-19 18:32:10 +02:00
Sebastian Schmidt
c631171ff0 Add comma operator and display implementations
+ Add comma token
 + Add tuple operator
 + Add tuple value type
 + Implement display for `tree::Node` and all related types
 + Add support for right-to-left chaining of operators with same precedence

The priority of chaining of operators with the same precedence remains left-to-right.
Only if two consecutive operators with the same precedence are right-to-left, they will be ordered right-to-left.

Implements #4.
2019-03-19 18:24:36 +02:00
Sebastian Schmidt
265b1214b0 Improve documentation about precedence and operators and README introduction 2019-03-19 16:47:17 +02:00
Sebastian Schmidt
c58d5dcda5 Test if functions can actually be called with multiple arguments 2019-03-19 12:47:01 +02:00
Sebastian Schmidt
53136e826a Remove two keywords to match maximum amount of five for crates.io 2019-03-19 12:30:08 +02:00
Sebastian Schmidt
dc8c818789 Move function module to folder to match module style of this repo 2019-03-19 12:29:03 +02:00
Sebastian Schmidt
7896253fb9 Complete reimplementation 2019-03-19 12:27:43 +02:00
Sebastian Schmidt
ed73f779e9 Add explanation about functions and precedences 2019-03-19 12:22:06 +02:00
Sebastian Schmidt
2b9d50909e Add quickstart guide and detailed explanation of features 2019-03-19 12:01:06 +02:00
Sebastian Schmidt
a51680da08 Add precedences to operators in docs 2019-03-19 11:03:34 +02:00
Sebastian Schmidt
1e5b0bda22 Check how github renders readme 2019-03-19 10:45:24 +02:00
Sebastian Schmidt
33d26aceb0 Check how github renders readme 2019-03-19 10:43:52 +02:00
Sebastian Schmidt
79d8084baa Add proper documentation 2019-03-18 19:51:20 +02:00
Sebastian Schmidt
d2336cb59d Implement function to build operator tree 2019-03-18 19:25:43 +02:00
Sebastian Schmidt
879f1fcd22 Evaluate arbitrary functions 2019-03-18 19:22:44 +02:00
Sebastian Schmidt
22d0d2c3d0 Format code and specify exports 2019-03-18 18:02:45 +02:00
Sebastian Schmidt
b3a616c39a Working on implementing functions 2019-03-15 20:26:25 +02:00
Sebastian Schmidt
3351d19db3 Tested configuration 2019-03-15 19:46:00 +02:00
Sebastian Schmidt
b1abbd6cfd Implemented configuration 2019-03-15 19:29:36 +02:00
Sebastian Schmidt
406bfe0e05 rustfmt 2019-03-15 19:22:14 +02:00
Sebastian Schmidt
bb74bee382 Implemented boolean expressions 2019-03-15 19:19:59 +02:00
Sebastian Schmidt
a1ba054609 Implemented mod and replaced Braced with RootNode 2019-03-15 18:34:40 +02:00
Sebastian Schmidt
1bc2909c1b Implemented and tested braces 2019-03-15 18:27:10 +02:00
Sebastian Schmidt
879fc4fe3d Tested separate int and float types 2019-03-15 17:43:26 +02:00
Sebastian Schmidt
0ee4946eaf Implemented separate int and float types 2019-03-15 17:40:38 +02:00
Sebastian Schmidt
22490f5036 Tested arithmetic precedence 2019-03-15 17:24:45 +02:00
Sebastian Schmidt
3975a17f0b Fixed warnings and removed unused dependencies. 2019-03-15 17:21:34 +02:00
Sebastian Schmidt
045313f076 More test cases 2019-03-15 17:18:20 +02:00
Sebastian Schmidt
b38c102c1d Complete rewrite of crate. Simple tokenizer and treeifyer (Or however the compiler people call these.). 2019-03-15 17:14:27 +02:00
Sebastian Schmidt
c313ec8ce5 Deciding to try a reboot 2019-03-15 13:42:18 +02:00
Sebastian Schmidt
f3d6c2b7ed Updated readme 2019-03-15 13:12:18 +02:00
Sebastian Schmidt
09442bf49f Changed crate name, added new author, and incremented patch. 2019-03-15 12:12:17 +02:00
Sebastian Schmidt
1e5e9a3ae9 Added converge builtin function 2019-03-15 12:04:01 +02:00
Qiu ChangJin
e53832ca4b
Update README.md 2019-01-19 09:16:10 +08:00
fengcen
40e2475f23 bump version 0.4.3 2018-08-24 09:12:41 +08:00
fengcen
0c4413836d fix #2 2018-08-24 09:09:55 +08:00
fengcen
446bf1efec bump version 0.4.2 2018-01-17 08:02:32 +08:00
Qiu ChangJin
7718a06b52
Merge pull request #1 from zeyla/update-serde-deps
Update serde dependencies
2018-01-17 08:00:08 +08:00
fengcen
ccb2545be4 ignore .idea 2018-01-17 07:59:43 +08:00
Zeyla Hellyer
857c6d9fdb Update serde dependencies
Updates the `serde` and `serde_json` dependencies from `^0.9` to `>=
0.9, < 2`, allowing it to be used with serde `^1`.
2018-01-16 09:46:41 -08:00
fengcen
6ab55223c7 bump version 0.4.1 2017-12-07 07:25:47 +08:00
fengcen
daf3f5bd4a allow null to compare 2017-12-07 07:24:12 +08:00
fengcen
1b690b634c fix markdown syntax. 2017-02-25 14:51:55 +08:00
fengcen
ce671d0f0a update serde to version 0.9, bump version 0.4.0 2017-02-13 08:26:47 +08:00
fengcen
1c4d522007 add status badge. 2016-11-26 23:05:28 +08:00
fengcen
f54a3f0b81 change readme. 2016-11-25 20:38:53 +08:00