generated/40/stream

sha256 700111ec9ef14aa968007112f6eba1e67d37466b43925cb7ad142f96a30a4f1f

Document

%YAML 1.2
---
# c1
'base':	# c2
   &m1
   # c3
   'b0':	-2	# c4
   # c5
   'b1':	-1	# c6
# c7
'item':	# c8
   !foo
   # c9
   !!merge &k1 <<:	# c10
      &m2
      # c11
      'c0':	5	# c12
      # c13
      'c1':	2	# c14
# c15
! 'again':	*m2	# c16
---
!!set
# c17
'base':	# c18
   &m1
   # c19
   'b0':	0	# c20
# c21
'item':	# c22
   # c23
   <<:	# c24
      !!map
      # c25
      'c0':	-4	# c26
   # c27
   'd0':	8	# c28
---
NULL	# c29

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-local node/tag-non-specific node/tag-shorthand presentation/comment-above presentation/comment-inline presentation/document-marker presentation/multi-document presentation/plain presentation/property-line presentation/quoted-single presentation/tab-separation presentation/tag-before-anchor presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/null
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml perlref

accept

yaml.v3

refuse by the parser

yamlstar

refuse by the loader

value split

go-yaml

{"again":{"c0":5,"c1":2},"base":{"b0":-2,"b1":-1},"item":{"c0":5,"c1":2}}
{"base":{"b0":0},"item":{"\u003c\u003c":{"c0":-4},"d0":8}}
null

libfyaml

{"again":{"c0":5,"c1":2},"base":{"b0":-2,"b1":-1},"item":{"\u003c\u003c":{"c0":5,"c1":2}}}
{"base":{"b0":0},"item":{"\u003c\u003c":{"c0":-4},"d0":8}}
null

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
yamlstar rejected, explained refuse by the loader not scored 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" Error: Unknown tag: tag:yaml.org,2002:merge
yaml.v3 rejected, explained refuse by the parser not scored refused 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 not scored same

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