sha256 8880e9f591921185c9d82fc758062107209ba443cd616c2b7786f0573122b4a8
!<tag:yaml.org,2002:map>
# c1
! base: &m1 # c2
# c3
b0: -2 # c4
# c5
item: ! # c6
# c7
&k1 !<tag:yaml.org,2002:merge> <<: # c8
# c9
- *m1 # c10
# c11
- # c12
# c13
c0: -2 # c14
# c15
b0: 99 # c16
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/alias node/anchor node/tag-non-specific node/tag-verbatim presentation/comment-above presentation/comment-inline presentation/plain presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"base":{"b0":-2},"item":{"b0":99,"c0":-2}} |
go-yaml libfyaml perlref
accept
yaml.v3
refuse by the parser
yamlstar
refuse by the loader
go-yaml
{"base":{"b0":-2},"item":{"b0":99,"c0":-2}}libfyaml
{"base":{"b0":-2},"item":{"\u003c\u003c":[{"b0":-2},{"c0":-2}],"b0":99}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | different, explained | n/i | value: explicit-merge-not-applied: the Python binding does not apply the merge key, even under an explicit !!merge tag, and keeps "<<" as a plain key | |
| 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: tag:yaml.org,2002:merge |
| 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 11: 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.