generated/8/stream

sha256 1498ca9e66c9d0230e510c0080c313eb76e08c4909d14a767dff1ef4e8fd9f75

Document

%TAG !TAG2! tag:yaml.org,2002:
---
! base: &m1
    b0: 00
item: !TAG2!set
    &k1 !TAG2!merge <<: *m1
    d0: -9
    d1: !TAG2!int -2
    b0: 099
---
&a1 >5-
    &a


Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/alias node/anchor node/tag-handle node/tag-non-specific presentation/block-folded presentation/block-indicator presentation/chomp-padded presentation/document-marker presentation/multi-document presentation/plain presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/string
meaning (none stated)

Answer groups

verdict split

go-yaml perlref

accept

libfyaml yaml.v3

refuse by the parser

yamlstar

refuse by the loader

value

go-yaml

{"base":{"b0":0},"item":{"b0":99,"d0":-9,"d1":-2}}
"\u0026a"

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml rejected, explained refuse by the parser not scored n/i indicator-counted-from-0: fy-tool counts a top-level block scalar's indentation indicator from column 0. The root node has n = -1 ([207] l-bare-document), and [170] sets the content indentation to n+m, so "--- |3" holds its content at 2 spaces, as the column 0 content of example 9.5 needs. After a reserved directive, fy-tool writes the warning "Unsupported directive" first, and the indentation error after it stdin:12:1: error: block scalar with wrongly indented line after spaces only
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 indicator-counted-from-0: yaml.v3 counts a top-level block scalar's indentation indicator from column 0. The root node has n = -1 ([207] l-bare-document), and [170] sets the content indentation to n+m, so "--- |3" holds its content at 2 spaces, as the column 0 content of example 9.5 needs yaml.v3: yaml: line 11: did not find expected <document start>
go-yaml accepted accept not scored same

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