sha256 c5fd5b03305024ddde608c968b6640286552cb4e941afc721830b12c23072909
!foo
# c1
'base':
&m1
# c2
'b0': 0
# c3
'item':
# c4
!!merge <<:
# c5
- *m1
# c6
-
# c7
!!str 'c0': 6
# c8
'd0': !!int 8
# c9
?
# c10
- >-
base
: >-
dup
# c11
?
# c12
- >-
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 | encoding/byte-order-mark node/alias node/anchor node/tag-local node/tag-shorthand presentation/block-folded presentation/comment-above presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/property-line presentation/quoted-single presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key value/sequence value/string |
| meaning (none stated) | |
go-yaml
refuse by the loader
libfyaml perlref yaml.v3 yamlstar
refuse by the parser
No source answered.
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 | rejected, explained refuse by the parser | not scored | n/i | tab-after-block-entry: fy-tool rejects a tab after a '-' before a block scalar header, "-\t>-", and before some scalars in nested entries, where s-separate takes the tab | stdin:22:6: error: cannot use tab for indentation of block entry |
| yamlstar | rejected, explained refuse by the parser | not scored | 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 | Error: parse: Parser finished before end of input |
| 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 12: 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 | [22:5] a sequence cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.