sha256 a7e90395be7443ae7351b9fe248809c64a439596a5284163e1a1a0bf7ad0a81a
%TAG !x! tag:yaml.org,2002:
---
# c1
? "base"
: &m1 {? "b0": -2, ? "b1": -3, ? "b2": -3} # c2
# c3
? "item"
: {? !x!merge &k1 <<: [*m1, {? !foo "c0": -2, ? "c1": 3}]} # c4
---
!
# c5
? "\nlead"
: &a1 null # c6
# c7
? ! " "
: True # c8
# c9
? &a2 "CM:"
: *a1 # c10
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/crlf node/alias node/anchor node/tag-handle node/tag-local node/tag-non-specific presentation/comment-above presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/multi-document presentation/plain presentation/quoted-double presentation/tag-before-anchor presentation/tag-directive value/bool value/int value/mapping value/merge-key value/non-string-key value/null value/sequence |
| meaning (none stated) | |
go-yaml libfyaml perlref yaml.v3
accept
yamlstar
refuse by the loader
go-yaml yaml.v3
{"base":{"b0":-2,"b1":-3,"b2":-3},"item":{"b0":-2,"b1":-3,"b2":-3,"c0":-2,"c1":3}}
{"\nlead":null," ":true,"CM:":null}libfyaml
{"base":{"b0":-2,"b1":-3,"b2":-3},"item":{"\u003c\u003c":[{"b0":-2,"b1":-3,"b2":-3},{"c0":-2,"c1":3}]}}
{"\nlead":null," ":true,"CM:":null}
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 | accepted accept | not scored | same | ||
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.