Граф коммитов

66 Коммитов

Автор SHA1 Сообщение Дата
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
Vlad Filippov c2917282d8
(cargo-release) start next development iteration 0.1.6-alpha.0 2020-08-14 13:46:45 -04:00
Vlad Filippov fc8692dde5
(cargo-release) start next development iteration 0.1.5-alpha.0 2020-08-14 13:46:45 -04:00
Vlad Filippov 2ce14b7e7f
(cargo-release) version 0.1.5 2020-08-14 13:45:00 -04:00
Vlad Filippov cb457f5593
(cargo-release) version 0.1.4 2020-08-14 13:44:58 -04:00
Vlad Filippov 509030fda5
Merge pull request #7 from mozilla/fix-array-literal-indexing
Fixes array literal indexing
2020-08-14 13:44:22 -04:00
Tarik Eshaq 9a804e6104 Fixes array literal indexing 2020-08-14 10:11:42 -07:00
Vlad Filippov 25d3b0ca8e
(cargo-release) start next development iteration 0.1.5-alpha.0 2020-08-13 15:20:36 -04:00
Vlad Filippov d6804fc92d
(cargo-release) start next development iteration 0.1.4-alpha.0 2020-08-13 15:20:36 -04:00
Vlad Filippov 520cd96350
(cargo-release) version 0.1.4 2020-08-13 15:18:59 -04:00
Vlad Filippov e51356d231
(cargo-release) version 0.1.3 2020-08-13 15:18:59 -04:00
Vlad Filippov b7ded36bf4
Merge pull request #5 from mozilla/fix-array-in
Fixes the array 'in' operator
2020-08-13 15:18:25 -04:00
Tarik Eshaq 6b625048e8 array 'in' operator 2020-08-13 11:43:39 -07:00
Vlad Filippov 082537c97b
Add Glean Team to authors as well 2020-08-13 09:45:43 -04:00
Vlad Filippov c4c1572fed
Add badges, release and docs links 2020-08-13 09:27:18 -04:00
Vlad Filippov 4f721cf759
(cargo-release) start next development iteration 0.1.4-alpha.0 2020-08-13 09:19:44 -04:00
Vlad Filippov 6f6d241955
(cargo-release) start next development iteration 0.1.3-alpha.0 2020-08-13 09:19:44 -04:00
Vlad Filippov 7a8bd7a041
(cargo-release) version 0.1.3 2020-08-13 09:18:10 -04:00
Vlad Filippov fafed36baa
(cargo-release) version 0.1.2 2020-08-13 09:18:10 -04:00
Vlad Filippov cac3d20ddc
(cargo-release) version 0.1.2 2020-08-13 09:16:54 -04:00
Vlad Filippov 6aaa4b3ec6
Merge pull request #4 from mozilla/transforms
Adds transforms
2020-08-13 09:15:06 -04:00
Tarik Eshaq 94f6fbdc28 Adds ability to set custom errors 2020-08-12 16:12:48 -07:00
Tarik Eshaq 2d3ae1351f Adds transforms with multiple arguments 2020-08-12 12:46:24 -07:00
Tarik Eshaq 12cf41b87c First pass at adding transforms 2020-08-11 12:46:54 -07:00