More builtins and semantic improvements (#66)

- base64 builtins
- base64url builtins
- jsonschema builtins
- json.remove builtin
- handle composite index variables
- use dashu_float since rust_decimal has lesser precision

Signed-off-by: Anand Krishnamoorthi <anakrish@microsoft.com>
This commit is contained in:
Anand Krishnamoorthi
2023-12-21 13:34:48 -08:00
committed by GitHub
parent 577e1aa8db
commit f6140b6be5
12 changed files with 668 additions and 153 deletions
@@ -20,7 +20,7 @@ cases:
z {
x = 1/3
y = 0.3333333333333333333333333333
y = 0.3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333
x == y
}
query: data.test
@@ -96,14 +96,14 @@ cases:
- 1152921504606846976
- 1152921504606846976
p4:
- 1.1805916207174113e21
- 1.1805916207174113e21
- 1.1805916207174113e21
- 1.1805916207174113e21
- 1.2089258196146292e24
- 1.2089258196146292e24
- 1.2089258196146292e24
- 1.2089258196146292e24
- 1180591620717411303424
- 1180591620717411303424
- 1180591620717411303424
- 1180591620717411303424
- 1208925819614629174706176
- 1208925819614629174706176
- 1208925819614629174706176
- 1208925819614629174706176
p5: [1, 1]
- note: extra argument