generated/1904/stream

sha256 3b889d8675c1be78d20a9ba81c4ebbd9ac2f97753fab4623a997964f00ffcfd3

Document

%YAML 1.1
---
{}
...
%YAML 1.1
---
{'': &a1 '-', !<!foo> '!': *a1, 'a: b: c': '2#'}

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresnode/alias node/anchor node/tag-verbatim presentation/document-marker presentation/document-suffix presentation/flow-collection presentation/multi-document presentation/quoted-single presentation/yaml-directive value/empty-collection value/mapping value/non-string-key value/string
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml perlref yaml.v3

accept

yamlstar

refuse by the loader

value

go-yaml libfyaml yaml.v3

{}
{"":"-","!":"-","a: b: c":"2#"}

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: !foo
yaml.v3 accepted accept not scored different
document 1

written

"": '-'
'!': '-'
'a: b: c': 2#

read back

{"":"-","!":"-","a: b: c":"2#"}
go-yaml accepted accept not scored same

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