LinuxHeki
1fc137a233
add math::abs to docs
2023-05-20 15:34:46 +02:00
Heki
bf716b2e87
add math::abs function
2023-05-20 13:16:24 +00:00
Sebastian Schmidt
6d90b0a294
Release 9.1.0.
2023-05-16 18:20:53 +03:00
Sebastian Schmidt
ed6430abed
Fix new nightly warning.
2023-05-16 18:11:24 +03:00
Sebastian Schmidt
0a46a244e0
Make docs more uniform.
2023-05-16 17:55:24 +03:00
Nick
d427405f47
contains and contians any - remove comment
2023-05-10 12:37:43 -05:00
Nick
8b8af31eb8
contains + contains_any builtins
2023-05-10 12:31:33 -05:00
Nick
76d480c465
Some
function to check if tuple contains value
2023-05-08 08:36:13 -05:00
Sebastian Schmidt
f2263bd218
Release 9.0.0
...
evalexpr@9.0.0
Generated by cargo-workspaces
2023-04-13 15:56:04 +03:00
Sebastian Schmidt
8392e88149
Add code coverage back to CI.
2023-04-13 15:55:36 +03:00
Sebastian Schmidt
7d440dd972
Update readme to reflect MSRV change.
2023-04-13 15:54:20 +03:00
ISibboI
a951bc0193
Merge pull request #123 from ISibboI/120-raising-a-number-to-a-negative-power-does-not-work-as-expected
...
Fix precedence of unary operators
2023-04-13 15:51:22 +03:00
Sebastian Schmidt
87e609ed99
Update changelog for 9.0.0 release.
2023-04-13 15:48:45 +03:00
Sebastian Schmidt
791ac540d2
Update CI.
2023-04-13 15:46:44 +03:00
Sebastian Schmidt
7ef9306ce3
Update CI.
2023-04-13 15:31:57 +03:00
Sebastian Schmidt
d6c09ef736
Update MSRV.
2023-04-13 15:25:47 +03:00
Sebastian Schmidt
1a90ec5f22
Update CI.
2023-04-13 15:00:55 +03:00
Sebastian Schmidt
be0e99ffdd
Update CI.
2023-04-13 14:57:39 +03:00
Sebastian Schmidt
d3741bfcf2
Update CI.
2023-04-13 14:54:01 +03:00
Sebastian Schmidt
1e14ea1460
Update changelog for bugfix release.
2023-04-13 14:47:22 +03:00
Sebastian Schmidt
ab24e08f28
Remove superfluous printlns.
2023-04-13 14:44:47 +03:00
Sebastian Schmidt
4fd86751dc
Fix unary operator precedence.
...
Before, unary operators that appeared after an operator with higher precedence would be executed after that operator.
However, in evalexpr, the two unary operators are prefix operators negation and not, and prefix operators always happen before operators directly left of them.
2023-04-13 14:42:39 +03:00
Sebastian Schmidt
9d0a776346
Add test for powers of negative numbers.
2023-04-13 14:21:44 +03:00
Sebastian Schmidt
aef100f91b
Release 8.2.0
...
evalexpr@8.2.0
Generated by cargo-workspaces
2023-04-13 14:11:11 +03:00
Sebastian Schmidt
5f3a5a833f
Update changelog for 8.2.0 release.
2023-04-13 14:09:40 +03:00
Sebastian Schmidt
94b9f1c9be
Fix lints.
2023-04-13 14:05:02 +03:00
ISibboI
6b649728cc
Merge pull request #116 from celaus/main
...
Added Clone to errors
2022-12-02 07:26:31 +02:00
Claus Matzinger
f5520077e0
Added Clone to errors
2022-12-01 23:20:08 +01:00
ISibboI
040a192147
Merge pull request #113 from NatanFreeman/main
...
Replaces `f64` and `i64` with `FloatType` and `IntType`.
2022-11-21 19:56:39 +02:00
natan
ebd08caa91
Formats code.
2022-11-21 19:50:22 +02:00
Natan Freeman
927e0e4075
Replaces f64
and i64
with FloatType
and IntType
.
2022-09-14 21:36:36 +03:00
Sebastian Schmidt
db191e1674
Release 8.1.0
...
evalexpr@8.1.0
Generated by cargo-workspaces
2022-07-22 12:20:08 +03:00
Sebastian Schmidt
70a749194f
Add tests for iterating only variable names in a context.
...
Relates to #108
2022-07-22 12:18:56 +03:00
ISibboI
86f7f17b0d
Update CHANGELOG.md
2022-07-22 11:17:26 +02:00
ISibboI
4033273cf9
Update changelog for 8.1.0
2022-07-22 11:09:17 +02:00
ISibboI
b8a90b065b
Merge pull request #110 from tsmt09/iter_read_write_vars
...
iter_(read/write)_variable_identifiers
2022-07-22 11:05:48 +02:00
Tobias Schmitt
165c606ed4
typo in doctest
2022-07-21 21:16:09 +02:00
Tobias Schmitt
532e2ed770
adds iter_(read/write)_variable_identifiers
...
seperate iterator returns for read and write variable identifiers.
this is useful in our project and i suspect it might be of use for
others too.
2022-07-21 21:12:26 +02:00
Sebastian Schmidt
a4f49de71a
Add tests for context variable iteration.
...
Relates to #108
2022-07-15 13:50:14 +03:00
Sebastian Schmidt
4cc86e7683
Add trait to allow iterating over all variables in a context.
...
Both iterating with and without values is supported.
Due to limitations in the language, currently only iterating by cloning is supported. When GATs are stabilised, this should change.
Relates to #108
2022-07-15 13:44:31 +03:00
Sebastian Schmidt
3d60c66305
Replace version specification in README with "desired version".
2022-07-15 13:16:24 +03:00
Sebastian Schmidt
33828ee94b
Release 8.0.0
...
evalexpr@8.0.0
Generated by cargo-workspaces
2022-07-06 11:26:27 +03:00
Sebastian Schmidt
a70981f0c5
Update changelog for 8.0.0 release.
2022-07-06 11:25:51 +03:00
ISibboI
c0b46a4e8d
Merge pull request #107 from ISibboI/sebschmi/i106_identifier_is_variable_bug
...
Split VariableIdentifier node into read and write variants
2022-07-06 11:23:20 +03:00
Sebastian Schmidt
7e3fdef92e
Update changelog.
2022-07-06 11:14:29 +03:00
Sebastian Schmidt
e70e9d366a
Use explicit operator type for reading and writing variables.
...
Before, variables written to were represented with the same operator as constants in the AST. This was hacky and confusing to some users.
Closes #106
2022-07-04 17:10:28 +03:00
Sebastian Schmidt
54c4286672
Use double dot syntax in operator/mod.rs
.
2022-07-04 17:03:32 +03:00
Sebastian Schmidt
65fadfd164
Add tests for left-hand side of assignment being an identifier.
...
Relates to #106
2022-07-04 16:50:50 +03:00
Sebastian Schmidt
563d82a525
Fix unnecessary unused lints.
2022-07-04 14:51:27 +03:00
Sebastian Schmidt
5f1aa344ab
Fix unnecessary format lints.
2022-07-04 14:44:34 +03:00