sha256 9d63c4034fd5800bb2933ca0d6958ebc2693a7b48a132b34a8fa0cd7f33a33da
---
# c1
!foo "base": &m1 {"b0": -2, "b1": 0x3, "b2": 0x3}
# c2
"item": {<<: *m1, !foo "d0": -3, ! "d1": 0x0}
# c3
?
# c4
- !foo "base"
: "dup"
# c5
?
# c6
- !foo "base"
: "dup2"
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| key/duplicate | reject from parse on, 3.2.1.1: it is an error for two equal keys to appear in the same mapping node |
| features | break/crlf encoding/byte-order-mark node/alias node/anchor node/tag-local node/tag-non-specific presentation/comment-above presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/key-below-the-indicator presentation/number-hex presentation/plain presentation/quoted-double presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key value/string |
| meaning (none stated) | |
go-yaml yamlstar
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref
accept
yaml.v3
refuse by the parser
No source answered.
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted refuse by the loader | not scored | n/i | TypeError: unhashable type: 'sequence' | |
| 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 | rejected, settled refuse by the parser | not scored | refused | key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node | yaml.v3: yaml: line 10: found character that cannot start any token |
| go-yaml | rejected, settled refuse by the loader | not scored | refused | key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node | [9:3] a sequence cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.