univalence / spark-tools

https://univalence.github.io/spark-tools/
Apache License 2.0
44 stars 8 forks source link

Use JQ syntax for typed path and index. #14

Closed ahoy-jon closed 5 years ago

ahoy-jon commented 5 years ago

before

a.b.c
d[1].e
f/h
i[last].j

after

.a.b.c
.d[0].e
.f[].h
.i[-1].j

We have also to make the syntax clearer : for path key".a[].b" for index index".a[0].b"

TODO :

ahoy-jon commented 5 years ago

We have also to make the syntax clearer : for path

key".a[].b"

for index

index".a[0].b"
HarrisonCheng commented 5 years ago

@ahoy-jon Quand tu as le temps tu pourras check ce qui a été fait ?

ahoy-jon commented 5 years ago

c'est bon pour moi, après il faudrait mettre à jour les macros ...