generated/1009

sha256 aea838f3409e11ceaa6e9a072cd2f07c8ea597e4afcfa3bbf4852a8e8bbb282a

Document

%YAML 1.2
---
!<tag:yaml.org,2002:set>
'base': &m1	# c1
      'b0':	5	# c2
      'b1':	-4	# c3
'item':	# c4
      !<tag:yaml.org,2002:merge> <<: !<tag:yaml.org,2002:seq>	# c5
            -	# c6
                  'c0':	-9	# c7
            -	*m1	# c8

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresencoding/byte-order-mark node/alias node/anchor node/tag-verbatim presentation/comment-inline presentation/document-marker presentation/plain presentation/quoted-single presentation/tab-separation presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"base":{"b0":5,"b1":-4},"item":{"b0":5,"b1":-4,"c0":-9}}

Answer groups

verdict split

go-yaml libfyaml perlref

accept

yaml.v3

refuse by the parser

yamlstar

refuse by the loader

value split

go-yaml

{"base":{"b0":5,"b1":-4},"item":{"b0":5,"b1":-4,"c0":-9}}

libfyaml

{"base":{"b0":5,"b1":-4},"item":{"\u003c\u003c":[{"c0":-9},{"b0":5,"b1":-4}]}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
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 loader rejected, explained n/i tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary"
value: tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary"
Error: Unknown tag: tag:yaml.org,2002:merge
yaml.v3 rejected, explained refuse by the parser rejected, explained refused yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document
value: yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document
yaml.v3: yaml: found incompatible YAML document
go-yaml accepted accept ok same

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