generated/128/stream

sha256 c9f9a0d4a262470baf5f20ea343e41966fb084f0e38bfde2a705715617af6651

Document

# 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

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresbreak/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)

Answer groups

verdict split

go-yaml libfyaml yaml.v3

accept

perlref yamlstar

refuse by the parser

value split

go-yaml yaml.v3

{"base":{"b0":-3,"b1":-9},"item":{"b0":-3,"b1":-9,"d0":3,"d1":2}}
false

libfyaml

{"base":{"b0":-3,"b1":-9},"item":{"\u003c\u003c":{"b0":-3,"b1":-9},"d0":3,"d1":2}}
false

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
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.