sha256 c5f951112607f12c9a178f8f6bac2999a78b70fcd29f617d0f8539fe9e8672d2
%YAML 1.2 --- true # c1 --- # c2 - ! >1- a: b: c # c3 - false # c4 # c5 - &a1 false # c6 --- # c7 base: # c8 &m1 # c9 b0: 6 # c10 # c11 b1: -2 # c12 # c13 b2: 0 # c14 # c15 item: # c16 !<!foo> # c17 !<tag:yaml.org,2002:merge> <<: # c18 &m2 # c19 c0: 3 # c20 # c21 ! d0: -6 # c22 # c23 ! b0: 99 # c24 # c25 again: *m2 # c26
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/crlf node/alias node/anchor node/tag-non-specific node/tag-verbatim presentation/block-folded presentation/block-indicator presentation/comment-above presentation/comment-inline presentation/document-marker presentation/multi-document presentation/plain presentation/property-line presentation/yaml-directive value/bool value/int value/mapping value/merge-key value/non-string-key value/sequence value/string |
| meaning (none stated) | |
go-yaml libfyaml perlref
accept
yaml.v3
refuse by the parser
yamlstar
refuse by the loader
go-yaml
true
["a: b: c",false,false]
{"again":{"c0":3},"base":{"b0":6,"b1":-2,"b2":0},"item":{"b0":99,"c0":3,"d0":-6}}libfyaml
true
["a: b: c",false,false]
{"again":{"c0":3},"base":{"b0":6,"b1":-2,"b2":0},"item":{"\u003c\u003c":{"c0":3},"b0":99,"d0":-6}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| 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.