sha256 1601e5b5f922d47da1f59b12fe16ddcd671f7bde0fee0a0dfd81cc332af11a0e
%TAG !n-1! tag:yaml.org,2002:
---
# c1
- # c2
# c3
"": !n-1!float 0.00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020902722826084166 # c4
# c5
?
&a1
# c6
"a: b: c": -92 # c7
: &a2 # c8
# c9
?
# c10
- "" # c11
: >-
dup
# c12
?
# c13
- "" # c14
: >-
dup2
# c15
- !n-1!null &a3 # c16
# c17
- -719943273427239793391 # c18
# c19
- # c20
# c21
<<: &a4 # c22
# c23
- *a1 # c24
# c25
- # c26
# c27
"#": -2 # c28
# c29
"#": # c30
| grammar | valid, vouched for up to construct |
| 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 | node/alias node/anchor node/tag-handle presentation/block-folded presentation/comment-above presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/quoted-double presentation/tab-separation presentation/tag-before-anchor presentation/tag-directive value/big-int value/float value/int value/mapping value/merge-key value/non-string-key value/null value/sequence value/string |
| meaning (none stated) | |
go-yaml yamlstar
refuse by the loader
libfyaml yaml.v3
refuse by the parser
perlref
accept
No source answered.
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | key/duplicate: the grammar has no production against a key written twice, and the reference parser implements the grammar alone, so it does not check this settled rule | |
| 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:17:5: error: cannot use tab for indentation of block entry |
| yamlstar | rejected, explained refuse by the loader | not scored | n/i | integer-past-long: the loader builds integers as 64-bit longs, and rejects one past their range, written in decimal, octal or hexadecimal | Error: YAML integer out of supported range: -719943273427239793391. Supported range is -9007199254740991 to 9007199254740991. Quote the value to load or dump it as a string. |
| 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 4: 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 | [11:16] a mapping cannot be a JSON key |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.