Beth Rennie
2cdbc0f547
chore: Release
2024-11-07 14:23:13 -05:00
Bastian Gruber
d06bd3c49d
Merge pull request #33 from mozilla/make-thread-safe
...
feat: make with_transform() Send and Sync
2024-11-07 19:09:28 +00:00
Bastian Gruber
e971410765
feat: make with_transform() Send and Sync
2024-11-06 10:04:21 -04:00
jhugman
2dff4e7444
Added `null` as a first class token ( #29 )
...
An expression may evaluate to Null but an equality test evaluates to UndefinedIdentifier
2023-05-25 16:11:03 +01:00
William Johnson
b28fe78294
- Address PR comments
...
Signed-off-by: William Johnson <wjohnson@DDN12219M.local>
2023-05-24 15:56:45 -04:00
Will
10bb05a0f9
An expression may evaluate to Null but an equality test evaluates to UndefinedIdentifier
...
Fixes #28 .
Support `Null` identifiers in expressions and allow binary comparison
of expressions when evaluating.
Signed-off-by: Will Johnson <wjohnson@whamcloud.com>
2022-11-11 02:28:17 +00:00
Charlie Humphreys
ee044f7abb
(cargo-release) start next development iteration 0.2.3-alpha.0
2022-08-25 12:11:30 -05:00
Charlie Humphreys
e29c793503
(cargo-release) start next development iteration 0.2.3-alpha.0
2022-08-25 12:11:30 -05:00
Charlie Humphreys
78e0345619
(cargo-release) start next development iteration 0.2.3-alpha.0
2022-08-25 12:11:29 -05:00
Charlie Humphreys
c5f4946a47
(cargo-release) version 0.2.2
2022-08-25 12:11:13 -05:00
Charlie Humphreys
2ce77265ee
(cargo-release) version 0.2.2
2022-08-25 12:11:13 -05:00
Charlie Humphreys
9ad7a9cad7
(cargo-release) version 0.2.2
2022-08-25 12:11:08 -05:00
Charlie Humphreys
7ada07b8c1
add 'in' operation for object types ( #26 )
2022-08-25 10:09:19 -04:00
James Hugman
faf6c4e5fb
(cargo-release) start next development iteration 0.2.2-alpha.0
2022-04-26 11:59:33 +01:00
James Hugman
bb4286fda2
(cargo-release) start next development iteration 0.2.2-alpha.0
2022-04-26 11:59:33 +01:00
James Hugman
77053b24ee
(cargo-release) start next development iteration 0.2.2-alpha.0
2022-04-26 11:59:32 +01:00
James Hugman
f7f2f93338
(cargo-release) version 0.2.1
2022-04-26 11:58:51 +01:00
James Hugman
52d7143c45
(cargo-release) version 0.2.1
2022-04-26 11:58:51 +01:00
James Hugman
142686103a
(cargo-release) version 0.2.1
2022-04-26 11:58:50 +01:00
jhugman
f41c31d8d7
Merge pull request #25 from mozilla/jhugman/24-undefined-variables-not-null
...
Make undefined variables error, but falsey
2022-04-26 10:56:50 +00:00
James Hugman
c035c5c412
Make undefined identifiers error
2022-04-25 19:24:40 +01:00
James Hugman
b84754ad4a
(cargo-release) start next development iteration 0.2.1-alpha.0
2022-04-20 20:03:18 +01:00
James Hugman
6111698d9c
(cargo-release) start next development iteration 0.2.1-alpha.0
2022-04-20 20:03:18 +01:00
James Hugman
d603a7e818
(cargo-release) start next development iteration 0.2.1-alpha.0
2022-04-20 20:03:18 +01:00
James Hugman
a21afdfaca
(cargo-release) version 0.2.0
2022-04-20 20:02:22 +01:00
James Hugman
3e98db1064
(cargo-release) version 0.2.0
2022-04-20 20:02:21 +01:00
James Hugman
4ee5fd8cc8
(cargo-release) version 0.2.0
2022-04-20 20:02:21 +01:00
jhugman
e3f3e0e704
Cleanup for binary operators, especially around `null`
...
This cleans up a lot of logic when dealing with binary operators:
* `==` now deals with boolean types, not just numbers and strings.
* `==` now evaluates to `false` if the types of the operands don't match, including `null`.
* `!=` is implemented in terms of `==`.
* The right hand operand of `&&` and `||` operators is evaluated conditionally, matching how JS implementation works.
* `null` is now falsey (was truthy!)
2022-04-19 15:34:56 +00:00
James Hugman
6eb0810aa3
Make AND and OR lazily evaluate the right hand side
2022-04-19 13:58:11 +01:00
James Hugman
91fd7f43b3
Add more boolean operators for booleans and strings
2022-04-13 21:02:52 +01:00
Tarik Eshaq
cc3706294f
Merge pull request #21 from atouchet/badge
...
Fix crates.io badges
2021-08-09 18:21:13 -07:00
Alex Touchet
e84587707c
Fix crates.io badges
2021-08-09 09:52:00 -07:00
Dan Mosedale
351aaeb6eb
Bump version numbers to 0.1.7 and tag releases ( #20 )
...
* (cargo-release) version 0.1.7
2020-10-17 09:48:23 -04:00
Edouard Oger
31d8768c7e
Merge pull request #19 from dmose/main
...
Don't publish parser-gen; it's just an internal tool
2020-10-16 16:45:23 -04:00
Dan Mosedale
dc69229b22
Don't publish parser-gen; it's just an internal tool
2020-10-16 13:34:19 -07:00
Edouard Oger
fe7819e8a0
Merge pull request #18 from mozilla/checked-in-parser
...
Check in the parser code
2020-10-16 16:00:39 -04:00
Edouard Oger
861498ce34
Check in the parser code
2020-10-16 16:00:04 -04:00
Vlad Filippov
d06e12bb9a
Merge pull request #14 from mozilla/fix-jexl-ref
...
Fix README link to JEXL
2020-09-10 14:03:07 -04:00
Michael Cooper
f41909aa75
Fix README link to JEXL
...
The existing link is to the wrong JEXL. Apache's "Java Expression Language" is similar to, but not the same as the "JavaScript Expression Language" commonly in use at Mozilla.
2020-09-08 10:31:54 -07:00
Tarik Eshaq
e0e3fa0feb
(cargo-release) start next development iteration 0.1.7-alpha.0
2020-08-17 10:01:36 -07:00
Tarik Eshaq
b6200b6e7b
(cargo-release) start next development iteration 0.1.7-alpha.0
2020-08-17 10:01:36 -07:00
Tarik Eshaq
b680104404
(cargo-release) version 0.1.6
2020-08-17 09:59:42 -07:00
Tarik Eshaq
23b0a70bc7
(cargo-release) version 0.1.6
2020-08-17 09:59:42 -07:00
Tarik Eshaq
700322cdf0
Fixes the versions of the eval and parser
2020-08-17 09:58:55 -07:00
Vlad Filippov
981c9c0e0f
Merge pull request #12 from mozilla/fix-weird-filtery-thing
...
Adds filtering collections
2020-08-14 16:35:05 -04:00
Tarik Eshaq
848181fab7
Adds filtering collections
2020-08-14 13:00:40 -07:00
Vlad Filippov
b9b1fe6805
Merge pull request #11 from mozilla/fix-conditional-statement
...
Adds support for conditional statements
2020-08-14 14:54:59 -04:00
Tarik Eshaq
b1e9d62eba
Adds support for conditional statements
2020-08-14 11:47:59 -07:00
Vlad Filippov
2079e42d09
Merge pull request #9 from mozilla/fix-object-identifier
...
Adds identifiers as valid object keys
2020-08-14 14:37:52 -04:00
Tarik Eshaq
0dc31b0553
Adds identifiers as valid object keys
2020-08-14 11:25:07 -07:00