sha256 b0edaf46b665d07383217f2a58c55acc7f7466d4284b4bf9687be1b70d694dc8
# c1
"base":
&m1
# c2
"b0": -3
# c3
"b1": 0x0
# c4
"b2": 0x2
# c5
"item":
# c6
&k1 !<tag:yaml.org,2002:merge> <<:
!<tag:yaml.org,2002:pairs>
# c7
- *m1
# c8
-
# c9
"c0": -4
# c10
"c1": !<tag:yaml.org,2002:int> 0x7
# c11
"d0": 0x0
# c12
"b0": 0x63
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| features | encoding/byte-order-mark node/alias node/anchor node/tag-verbatim presentation/comment-above presentation/number-hex presentation/plain presentation/property-line presentation/quoted-double value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"base":{"b0":-3,"b1":0,"b2":2},"item":{"b0":99,"b1":0,"b2":2,"c0":-4,"c1":7,"d0":0}} |
go-yaml libfyaml yaml.v3
accept
perlref yamlstar
refuse by the parser
go-yaml yaml.v3
{"base":{"b0":-3,"b1":0,"b2":2},"item":{"b0":99,"b1":0,"b2":2,"c0":-4,"c1":7,"d0":0}}libfyaml
{"base":{"b0":-3,"b1":0,"b2":2},"item":{"\u003c\u003c":[{"b0":-3,"b1":0,"b2":2},{"c0":-4,"c1":7}],"b0":99,"d0":0}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, explained refuse by the parser | n/i | n/i | bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document | |
| 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 parser | rejected, explained | n/i | bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document value: bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document |
Error: parse: Parser finished before end of input |
| yaml.v3 | accepted accept | ok | same | ||
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.