sha256 0755c72982d5e85049bea5ac024bcc0d2652b72382876f1c889ddb29452c32b7
&a2 ? &a1 -3 : null # c1 ... !!bool &a1 FALSE # c2
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| features | break/cr encoding/byte-order-mark node/anchor node/tag-shorthand presentation/comment-inline presentation/document-suffix presentation/explicit-key presentation/multi-document presentation/plain presentation/tag-before-anchor value/bool value/mapping value/non-string-key value/null |
| meaning (none stated) | |
go-yaml libfyaml
accept
perlref yaml.v3 yamlstar
refuse by the parser
go-yaml libfyaml
{"-3":null}
false
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, explained refuse by the parser | n/i | n/i | lone-cr-break: the parser takes a lone CR as a line break in some places and not in others: "x\r\r", "x\r# c", "!foo\r- a", "\r!" and an empty line written "\n\r" reject the document, where [28] b-break takes a lone CR. Any valid document holding a lone CR is covered, so a defect of another kind in such a document is hidden | |
| libfyaml | accepted accept | not scored | n/i | ||
| yamlstar | rejected, explained refuse by the parser | not scored | n/i | lone-cr-break: the reference parser takes a lone CR as a line break in some places and not in others: "x\r\r", "x\r# c", "!foo\r- a", "\r!" and an empty line written "\n\r" reject the document, where [28] b-break takes a lone CR. Any valid document holding a lone CR is covered, so a defect of another kind in such a document is hidden | Error: parse: Parser finished before end of input |
| yaml.v3 | rejected, explained refuse by the parser | not scored | refused | bare-document-after-end: yaml.v3 requires a "---" before every document after the first, so a bare document after a "..." end marker rejects the stream | yaml.v3: yaml: line 4: did not find expected <document start> |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.