sha256 ed4cebb61e1cad8f7cf94ecce24757b2bf984149ee216674d638c7b5bd068ee7
--- FALSE # c1 --- !<tag:yaml.org,2002:set> "base": # c2 &m1 "b0": 2 # c3 "b1": 2 # c4 "b2": -6 # c5 "item": # c6 &k1 <<: # c7 &m2 "c0": -5 # c8 "c1": 7 # c9 "d0": !<tag:yaml.org,2002:int> 6 # c10 "d1": !<tag:yaml.org,2002:int> 2 # c11 !<!foo> "b0": 99 # c12 "again": *m2 # c13
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/cr node/alias node/anchor node/tag-verbatim presentation/comment-inline presentation/document-marker presentation/multi-document presentation/plain presentation/property-line presentation/quoted-double presentation/tab-separation 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 libfyaml
false
{"again":{"c0":-5,"c1":7},"base":{"b0":2,"b1":2,"b2":-6},"item":{"\u003c\u003c":{"c0":-5,"c1":7},"b0":99,"d0":6,"d1":2}}yaml.v3
false
{"again":{"c0":-5,"c1":7},"base":{"b0":2,"b1":2,"b2":-6},"item":{"b0":99,"c0":-5,"c1":7,"d0":6,"d1":2}}
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 | differentdocument 1written again:
c0: -5
c1: 7
base:
b0: 2
b1: 2
b2: -6
item:
b0: 99
c0: -5
c1: 7
d0: 6
d1: 2
read back {"again":{"c0":-5,"c1":7},"base":{"b0":2,"b1":2,"b2":-6},"item":{"b0":99,"c0":-5,"c1":7,"d0":6,"d1":2}} |
||
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.