Open wandernauta opened 2 months ago
This extends the Prometheus grammar so that it can correctly parse the example from the documentation, and adds a number of test cases.
The grammar now...
123test
Some names in the PEG grammar are aligned with the EBNF grammar in the docs.
Finally, entirely empty (no lines at all) responses are now allowed, to be compatible with upstream Prometheus behavior.
This extends the Prometheus grammar so that it can correctly parse the example from the documentation, and adds a number of test cases.
The grammar now...
123test
is no longer allowed.Some names in the PEG grammar are aligned with the EBNF grammar in the docs.
Finally, entirely empty (no lines at all) responses are now allowed, to be compatible with upstream Prometheus behavior.