generated/1841

sha256 e7b83e9cb80ea7950bbf6dbe63fe2c32818352426500cd93581198c45439d180

Document

---
# c1
'base':
   &m1
   # c2
   'b0':	0x6
   # c3
   'b1':	-8
# c4
!<tag:yaml.org,2002:str> 'item':
   # c5
   !<tag:yaml.org,2002:merge> <<:
      !<tag:yaml.org,2002:seq>
      # c6
      -
         # c7
         'c0':	0x1
         # c8
         'c1':	-2
      # c9
      -	*m1
   # c10
   'd0':	0x2
   # c11
   !<!foo> 'b0':	0x63

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/alias node/anchor node/tag-verbatim presentation/comment-above presentation/document-marker presentation/number-hex presentation/plain presentation/property-line presentation/quoted-single presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"base":{"b0":6,"b1":-8},"item":{"b0":99,"b1":-8,"c0":1,"c1":-2,"d0":2}}

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":6,"b1":-8},"item":{"b0":99,"b1":-8,"c0":1,"c1":-2,"d0":2}}

libfyaml

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

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 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 21: 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.