In Quil-T we make use of PRAGMA FILTER-NODE which expects a json-like string object. For example
PRAGMA FILTER-NODE raw "{'key': 'value', ...}"
The problem is, however, single-quoted strings are not valid JSON, so the above would have to be written
PRAGMA FILTER-NODE raw "{\"key\": \"value\", ...}"
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
PRAGMA FILTER-NODE raw '{"key": "value", ...}'
@stylewarning WDYT?
In Quil-T we make use of
PRAGMA FILTER-NODEwhich 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?