generated/1844

sha256 c77528d792bc043c68c63ffa35603d0ef9fa4aa4f679df18da11d557516aab7b

Document

# c1
?	"base"
:	# c2
     &m1
     # c3
     ?	"b0"
     :	9	# c4
     # c5
     ?	"b1"
     :	-6	# c6
# c7
?	!<!foo> "item"
:	# c8
     # c9
     ?	!<tag:yaml.org,2002:merge> <<
     :	# c10
          !<tag:yaml.org,2002:map>
          # c11
          ?	"c0"
          :	-8	# c12
          # c13
          ?	"c1"
          :	-1	# c14
     # c15
     ?	"d0"
     :	-2	# c16
     # c17
     ?	"d1"
     :	2	# c18
     # c19
     ?	! "b0"
     :	99	# c20

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresencoding/byte-order-mark node/anchor node/tag-non-specific node/tag-verbatim presentation/comment-above presentation/comment-inline presentation/explicit-key presentation/plain presentation/property-line presentation/quoted-double presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key
meaning (yaml-1.2-core){"base":{"b0":9,"b1":-6},"item":{"b0":99,"c0":-8,"c1":-1,"d0":-2,"d1":2}}

Answer groups

verdict split

go-yaml libfyaml

accept

perlref yaml.v3 yamlstar

refuse by the parser

value split

go-yaml

{"base":{"b0":9,"b1":-6},"item":{"b0":99,"c0":-8,"c1":-1,"d0":-2,"d1":2}}

libfyaml

{"base":{"b0":9,"b1":-6},"item":{"\u003c\u003c":{"c0":-8,"c1":-1},"b0":99,"d0":-2,"d1":2}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, explained refuse by the parser n/i n/i bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
libfyaml accepted accept different, explained n/i value: explicit-merge-not-applied: the Python binding does not apply the merge key, even under an explicit !!merge tag, and keeps "<<" as a plain key
yamlstar rejected, explained refuse by the parser rejected, explained n/i bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
value: bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document
Error: parse: Parser finished before end of input
yaml.v3 rejected, explained refuse by the parser rejected, explained refused tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document
value: tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document
yaml.v3: yaml: line 2: found character that cannot start any token
go-yaml accepted accept ok same

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.