Skip to content

Commit

Permalink
Document reasoning behind Propsal A's current stance on bracket notat…
Browse files Browse the repository at this point in the history
…ion. #51
  • Loading branch information
cburgmer committed Jun 9, 2020
1 parent 9dc0bd8 commit 781eac3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions proposals/Proposal_A/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,14 @@ To call out some decisions deviating from other implementations:

*Motivation*: Find clear split between array index and object name lookup.

- Bracket notation allows one or many elements ("union"), and allows mixing
anything that is also allowed in it's own within bracket notation, e.g.
filter expressions. So `$[*,-1,?(@>1),"key"]` is supported.

*Motivation*: This is simple, yet powerful and allows for a few sensible use
cases, e.g. combining multiple filter expressions. It does not require any
extension to the syntax, on the contrary, it feels like it fits right in.

- "Bald" recursive descent is not supported.

*Motivation*: No consensus, but more specifically would introduce more
Expand Down

0 comments on commit 781eac3

Please sign in to comment.