sha256 c9f9a0d4a262470baf5f20ea343e41966fb084f0e38bfde2a705715617af6651
# c1 "base": &m1 # c2 "b0": -3 # c3 "b1": -9 # c4 ! "item": # c5 &k1 !<tag:yaml.org,2002:merge> <<: *m1 # c6 "d0": 3 # c7 "d1": 2 --- &a1 FALSE
| 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/alias node/anchor node/tag-non-specific node/tag-verbatim presentation/comment-above presentation/document-marker presentation/multi-document presentation/plain presentation/property-line presentation/quoted-double value/bool value/int value/mapping value/merge-key value/non-string-key |
| meaning (none stated) | |
go-yaml libfyaml yaml.v3
accept
perlref yamlstar
refuse by the parser
go-yaml yaml.v3
{"base":{"b0":-3,"b1":-9},"item":{"b0":-3,"b1":-9,"d0":3,"d1":2}}
falselibfyaml
{"base":{"b0":-3,"b1":-9},"item":{"\u003c\u003c":{"b0":-3,"b1":-9},"d0":3,"d1":2}}
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 | accepted accept | not scored | same | ||
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.