-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
The following are mainly observations about the jq documentation in JBOL, but is open to collect any oddity, discrepancy or digression in the documentation that helps a jq implementer.
-
JBOL: Schematic syntax for special constructs mentions an
if ... then ... end
without anelse
part, but this does not work:$ jq -n 'if 1 then 2 end' jq: error: syntax error, unexpected end (Unix shell quoting issues?) at <top-level>, line 1: if 1 then 2 end jq: error: Possibly unterminated 'if' statement at <top-level>, line 1: if 1 then 2 end jq: 2 compile errors
At the same time, JBOL's language grammar does not allow it.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation