-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow single-quoted strings for PRAGMA #52
Comments
Discussion from Quil call:
|
can we use |
Bumping this issue. We'd also like to write JSON into |
In fact, would it unreasonable for Quil to have a designator for a JSON string? I feel like we're bumping into genuine contention between Quil and JSON (and potentially other formats) over the
it seems reasonable to support structured strings describing objects here. |
In Quil-T we make use of
PRAGMA FILTER-NODE
which expects a json-like string object. For exampleThe problem is, however, single-quoted strings are not valid JSON, so the above would have to be written
which is awkward and error-prone when writing by-hand.
If we supported using single quotes for the pragma freeform string then the above would become
@stylewarning WDYT?
The text was updated successfully, but these errors were encountered: