Commit Graph

524 Commits

Author SHA1 Message Date
Sebastian Schmidt
c37a321666 Update changelog 2019-08-30 12:51:20 +03:00
Sebastian Schmidt
43e0256550 Fix != was wrongfully parsed as Token::Eq
Fixes #68
2019-08-30 12:48:00 +03:00
Sebastian Schmidt
782f233d7d Add more string comparison tests
Relates to #68
2019-08-30 12:43:10 +03:00
Sebastian Schmidt
15786378bc (cargo-release) start next development iteration 5.0.2 2019-08-30 10:58:35 +03:00
Sebastian Schmidt
954cb63af0 (cargo-release) version 5.0.2 2019-08-30 10:58:29 +03:00
Sebastian Schmidt
4a8f1d734e Stop listing separate dev-dependencies for target.bench 2019-08-30 10:58:21 +03:00
Sebastian Schmidt
b086d27be4 (cargo-release) start next development iteration 5.0.1 2019-08-30 10:54:44 +03:00
Sebastian Schmidt
1664c79e11 (cargo-release) version 5.0.1 2019-08-30 10:54:33 +03:00
Sebastian Schmidt
c64ecbdc25 Update changelog 2019-08-30 10:50:45 +03:00
Sebastian Schmidt
b4fe0b0c0f Make benchmark dependencies dev-dependencies 2019-08-30 10:47:56 +03:00
Sebastian Schmidt
112e724d9c (cargo-release) start next development iteration 5.0.0 2019-08-30 10:45:33 +03:00
Sebastian Schmidt
a6e5c5088b (cargo-release) version 5.0.0 2019-08-30 10:45:27 +03:00
Sebastian Schmidt
b656b2a970 Update changelog 2019-08-30 10:33:42 +03:00
Sebastian Schmidt
6b03981fe3 (cargo-release) version 5.0.0-rc.2 2019-08-30 10:27:01 +03:00
Sebastian Schmidt
81496539d0 Update changelog 2019-08-30 10:26:37 +03:00
Sebastian Schmidt
6163972382 Reformat code examples to reduce horizontal scrolling 2019-08-30 10:07:48 +03:00
Sebastian Schmidt
b8d7344cc5 Improve documentation 2019-08-30 10:03:31 +03:00
Sebastian Schmidt
4571f3a578 Update aggregation operator documentation
Relates to #44
2019-08-30 09:16:43 +03:00
Sebastian Schmidt
03a30205e2 Update changelog 2019-08-29 18:43:14 +03:00
Sebastian Schmidt
7c8d845d12 (cargo-release) version 5.0.0-rc.1 2019-08-29 18:39:48 +03:00
Sebastian Schmidt
463bd77e57 Add evaluation benches
Relates to #62
2019-08-29 18:19:05 +03:00
Sebastian Schmidt
a36d4d3815 Use mutable contexts in eval methods of Node
This was forgotten when closing #45.

Relates to #45
2019-08-29 18:06:39 +03:00
Sebastian Schmidt
2b92cbbbec Implement benchmarks for parsing
Relates to #62
2019-08-29 17:37:42 +03:00
Sebastian Schmidt
18e789f952 Update dependencies 2019-08-29 17:14:40 +03:00
Sebastian Schmidt
8bc0ba6ef5 (cargo-release) version 5.0.0-beta.1 2019-08-29 16:38:17 +03:00
Sebastian Schmidt
2d1704b9a3 Implement better error messages for addition with incompatible types
Implements #60
2019-08-29 16:36:35 +03:00
Sebastian Schmidt
2ec3dc74c1 Make operator enum public
This is required for better error messages.

Relates to #60
2019-08-29 16:28:43 +03:00
Sebastian Schmidt
88719317a5 Fix documentation of error constructors
Fixes #61
2019-08-29 16:11:20 +03:00
Sebastian Schmidt
0e2ca4a489 Add but not use WrongTypeCombinationError
Relates to #60
2019-08-29 13:49:56 +03:00
Sebastian Schmidt
a3faefb893 Fix panic when adding number to string
For no reason, unwraps were used in the operator module.

Fixes #59
2019-08-29 13:36:18 +03:00
Sebastian Schmidt
d8eed924cc Add documentation about operator assignments 2019-08-29 13:21:54 +03:00
Sebastian Schmidt
b7233a3337 Implement operator assignments
Implements #34
2019-08-29 13:10:12 +03:00
Sebastian Schmidt
b9c4b34a2f Make builtin len support tuples
Implements #41
2019-08-29 11:10:54 +03:00
Sebastian Schmidt
15cdb3eb50 Refactor regex tests into own module 2019-08-29 10:58:01 +03:00
Sebastian Schmidt
e1ef617eaa Update changelog 2019-08-29 10:53:38 +03:00
Sebastian Schmidt
95ba26a2cd Fix doctest for context creation macro
Relates to #48
2019-08-29 10:50:32 +03:00
Sebastian Schmidt
60b6cdf180 Add documentation about context creation macro
Implements #48
2019-08-29 10:47:58 +03:00
Sebastian Schmidt
3670bcaf63 Add comments to code in docs 2019-08-29 10:33:12 +03:00
Sebastian Schmidt
88559d5493 Add some information about contexts to docs 2019-08-29 10:30:55 +03:00
Sebastian Schmidt
c995cf37e6 Update changelog 2019-08-29 10:02:13 +03:00
Sebastian Schmidt
2399df16a1 Run rustfmt 2019-08-29 10:02:05 +03:00
Sebastian Schmidt
6ace829117 Create mutable context when using eval functions without context
While this is a tiny hit on performance, it is something that the user probably wants.
It specifically prevents the user from seeing ContextNotManipulable errors when using the full power of evalexpr in the simplest eval calls.

Implements #45
2019-08-29 09:44:14 +03:00
Sebastian Schmidt
596d4d37b1 Refactor serde tests into own module 2019-08-29 09:21:34 +03:00
Sebastian Schmidt
8c6228c3d9 Update readme
Relates to #50
2019-08-29 09:12:58 +03:00
Sebastian Schmidt
6b1706f68f Run rustfix
Relates to #55
2019-08-29 09:03:31 +03:00
Sebastian Schmidt
fa0a021d71 Update use statements to Rust 2018
Relates to #55
2019-08-29 09:02:15 +03:00
Sebastian Schmidt
0c5d032b37 Merge remote-tracking branch 'origin/master' 2019-08-29 08:57:07 +03:00
Sebastian Schmidt
2ee1f8f62c Deny missing docs 2019-08-29 08:56:58 +03:00
Sebastian Schmidt
e6c19077b6 Implement value decomposition API
* Removed expect_... methods and replaced them with .as_...() methods. This removes the need to import the free-standing methods every time and makes the code cleaner.
 * Changed all the examples appropriately.

Implements #53
2019-08-29 08:56:49 +03:00
ISibboI
962a99e5c7
Merge pull request #54 from Atul9/rust-2018
Update crate for Rust 2018
2019-06-14 19:10:59 +02:00