generated/1616

sha256 83f5f267eca18a117501ced3d0b4f33a5a34bb4c2893de83f31d9e386cab0929

Document

---
# c1
?	base
: &m4
   # c2
   ?	o9
   :	7
# c3
?	o
: &m3 !!omap
   # c4
   -
      # c5
      ?	<<
      :	*m4
   # c6
   -
      # c7
      ?	o0
      :	6
   # c8
   -
      # c9
      ?	o1
      :	-8
   # c10
   -
      # c11
      ?	o8
      :	*m4
# c12
?	!foo again
:	*m3
# c13
?	!!str p
: !!pairs
   # c14
   -
      # c15
      ?	p0
      :	1
   # c16
   -
      # c17
      ?	p0
      :	2

Corpus

grammarvalid, vouched for up to construct
representation/ordered-mapopen from construct on: each parser's stance decides
featuresbreak/crlf node/alias node/anchor node/tag-local node/tag-shorthand presentation/comment-above presentation/document-marker presentation/explicit-key presentation/plain presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"again":{"\u003c\u003c":{"o9":7},"o0":6,"o1":-8,"o8":{"o9":7}},"base":{"o9":7},"o":{"\u003c\u003c":{"o9":7},"o0":6,"o1":-8,"o8":{"o9":7}},"p":[{"p0":1},{"p0":2}]}

Answer groups

verdict split

go-yaml perlref

accept

libfyaml yaml.v3

refuse by the parser

yamlstar

refuse by the loader

value

go-yaml

{"again":{"\u003c\u003c":{"o9":7},"o0":6,"o1":-8,"o8":{"o9":7}},"base":{"o9":7},"o":{"\u003c\u003c":{"o9":7},"o0":6,"o1":-8,"o8":{"o9":7}},"p":[{"p0":1},{"p0":2}]}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml rejected, explained refuse by the parser rejected, explained n/i tab-after-explicit-key: fy-tool rejects the ':' of an explicit entry whose '?' a tab follows: "?\ta\n: b" is rejected, where s-separate takes the tab before a scalar key
value: tab-after-explicit-key: fy-tool rejects the ':' of an explicit entry whose '?' a tab follows: "?\ta\n: b" is rejected, where s-separate takes the tab before a scalar key
stdin:4:1: error: Indentation used tabs for ':' indicator
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: !foo
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 3: 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.