Commit Graph

49 Commits

Author SHA1 Message Date
Sebastian Schmidt
36ee042bd7 Update changelog. 2021-06-02 18:08:32 +03:00
Sebastian Schmidt
8cb38e0433 Move maintenance badge to top 2019-09-13 17:38:15 +02:00
Sebastian Schmidt
36075e9822 Update changelog 2019-09-13 17:37:10 +02:00
Sebastian Schmidt
054dea4a61 Update changelog 2019-09-13 17:35:01 +02:00
Sebastian Schmidt
f38bf20cca Fix contributor name in changelog 2019-08-30 12:53:53 +03:00
Sebastian Schmidt
c37a321666 Update changelog 2019-08-30 12:51:20 +03:00
Sebastian Schmidt
4a8f1d734e Stop listing separate dev-dependencies for target.bench 2019-08-30 10:58:21 +03:00
Sebastian Schmidt
c64ecbdc25 Update changelog 2019-08-30 10:50:45 +03:00
Sebastian Schmidt
b656b2a970 Update changelog 2019-08-30 10:33:42 +03:00
Sebastian Schmidt
81496539d0 Update changelog 2019-08-30 10:26:37 +03:00
Sebastian Schmidt
03a30205e2 Update changelog 2019-08-29 18:43:14 +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
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
e1ef617eaa Update changelog 2019-08-29 10:53:38 +03:00
Sebastian Schmidt
c995cf37e6 Update changelog 2019-08-29 10:02:13 +03:00
Sebastian Schmidt
50a761aa1b Update change log
Give some tribute to our amazing contributors!
2019-04-16 20:41:40 +02:00
Sebastian Schmidt
697fbb5d45 Implement iterators over variable and function identifiers
Relates to #37
2019-04-13 20:16:05 +02:00
Sebastian Schmidt
0af5e3ed32 Update changelog 2019-04-13 18:27:53 +02:00
Sebastian Schmidt
67d68cd974 Add string constants
* Implement string parsing in tokenizer
 * Implement escape sequences `\"` and `\\`
 * Document changes
 * Update change log

Relates to #35
2019-03-30 11:54:26 +01:00
Sebastian Schmidt
c63206fa17 Add derive(Default) to HashMapContext 2019-03-28 15:44:25 +01:00
Sebastian Schmidt
862963d447 Prepare 3.1.0 release 2019-03-28 15:42:11 +01:00
Sebastian Schmidt
e56afad25f Add release name to change log and prepare for next release 2019-03-28 12:12:00 +01:00
Sebastian Schmidt
9faf781623 Update change log 2019-03-28 11:55:27 +01:00
Sebastian Schmidt
e266f4fc0d Merge ContextMut with Context and add eval_<type>_with_context_mut methods
Trait objects of `ContextMut` cannot be converted into `Context`, even though `ContextMut` requires `Context`.

Relates to #30
2019-03-28 09:22:48 +01:00
Sebastian Schmidt
451a3aa97e Fix release date of 2.0.0 in change log 2019-03-28 08:48:18 +01:00
Sebastian Schmidt
5bd514041b Add release note 2019-03-27 19:27:44 +01:00
Sebastian Schmidt
6f31d69d7d Prepare 2.0.0 release 2019-03-27 19:14:24 +01:00
Sebastian Schmidt
d5544cdbf2 Add eval_number[_with_context] crate methods
Relates to #20
2019-03-27 18:59:06 +01:00
Sebastian Schmidt
720b2f90c2 Add Node::eval_number[_with_context] methods
Relates to #20
2019-03-27 18:55:51 +01:00
Sebastian Schmidt
7d0abc8406 Rename as_float to as_number and add strict as_float
Relates to #20
2019-03-27 18:49:02 +01:00
Sebastian Schmidt
1574514220 Add forgotten changes to change log 2019-03-27 18:19:05 +01:00
Sebastian Schmidt
9283d5412f Rename Context to ContextMut and Configuration to Context
Get rid of two different words for the same concept.

Relates to #22
2019-03-27 18:09:33 +01:00
Sebastian Schmidt
b65127c2cb Add Context trait
* Rename `HashMapConfiguration` to `HashMapContext`
 * Rename `EmptyConfiguration` to `EmptyContext`
 * Implement `Context` for both predefined contexts
 * Add the `ContextNotManipulable` error variant
 * Add function `EvalexprError::expected_type` to emit a specific type error when a type is expected dynamically within a context
 * Update tests and doctests
 * Add ValueType enum to aid dynamic typing

Relates to #22
2019-03-27 17:53:01 +01:00
Sebastian Schmidt
d64aacea17 Update changelog 2019-03-27 16:19:56 +01:00
Sebastian Schmidt
a33c91813b Prepare changelog for next development iteration 2019-03-23 16:17:09 +02:00
Sebastian Schmidt
6e5d8e6d75 Prepare change log for release 2019-03-23 16:15:48 +02:00
Sebastian Schmidt
1a733ccf63 Log addition of custom error type in change log 2019-03-23 15:30:54 +02:00
Sebastian Schmidt
a7ca4c717d Implement, test and document serde Deserialize for expressions
Relates to #18
2019-03-23 15:20:43 +02:00
Sebastian Schmidt
5e491f6771 Add serde feature
Relates to #18
2019-03-23 12:46:52 +02:00
Sebastian Schmidt
348578ca9f Add missing unreleased section header to changelog 2019-03-21 12:45:58 +02:00
Sebastian Schmidt
3a816fa7e7 Add highlighting to readme 2019-03-21 09:40:50 +02:00
Sebastian Schmidt
ef24c068fd Prepare changelog for release 2019-03-20 17:43:06 +02:00
Sebastian Schmidt
e4f12da24e Organize change log and complete it for #15 2019-03-20 17:09:16 +02:00
Sebastian Schmidt
e337520805 Introduce TupleType type alias for representing tuples 2019-03-20 16:40:57 +02:00
Sebastian Schmidt
2dac0576a7 Add shortcut functions for evaluating directly into a value type
+ Added shortcut functions `eval_[type]` and `eval_[type]_with_configuration` for each value type
 + Added integration tests for the above

 Partially implements #15
2019-03-20 16:29:50 +02:00
Sebastian Schmidt
5549f1bba5 Make internal value type aliases for float and int public 2019-03-20 16:18:52 +02:00
Sebastian Schmidt
36a65c470b Refactor lib.rs
* Move tests into integration test folder
 * Move crate methods into interface module
2019-03-20 15:48:05 +02:00
Sebastian Schmidt
3bcb9b2770 Add initial change log 2019-03-20 15:37:07 +02:00