Skip to content

Conversation

@mkantor
Copy link
Owner

@mkantor mkantor commented Feb 14, 2025

Now that @index exists, expressions like :a.b can be modeled as a @lookup followed by an @index, so @lookup itself doesn't need to know how to drill down into objects.

This brings with it syntax improvements: dotted paths in lookups are now handled at the parsing layer, which means that quoting/escaping is nicer (e.g. :"key containing . which is quoted".property is valid plz syntax).

Now that `@index` exists, expressions like `:a.b` can be modeled as a
`@lookup` followed by an `@index`. This helps to simplify `@lookup`'s
implementation.
Only accept a single atomic key (not a potentially-molecular query).
@mkantor mkantor merged commit ac2c1b1 into main Feb 14, 2025
1 check passed
@mkantor mkantor deleted the dumb-down-lookup branch February 14, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants