-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support array and tuple input (#1200)
This PR reworks the variable input mechanism to use nom as a parser; allowing us to parse array inputs and other complex inputs. Arrays and tuples are parsed using edgeql syntactic conventions. Inside of arrays and tuples, strings must be quoted using edgeql conventions. A good follow-up might be to support parsing things like uuids as `<uuid>'acb53d04-184e-11ef-aaab-cb2f1138c5d7'` and similar, as well as using more abbreviated syntax. Fixes #714 --------- Co-authored-by: Michael J. Sullivan <sully@msully.net>
- Loading branch information
Showing
5 changed files
with
1,275 additions
and
103 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.