sha256 38200578fe2c26a005c822cdbe275c33891819cca96d5cea6e9542fc3262b310
%TAG !x! tag:yaml.org,2002:
---
# c1
&a4 <<: # c2
# c3
'merged0': 3 # c4
# c5
'0': &a1 # c6
# c7
- # c8
# c9
- !x!floa, .inf # c10
# c11
- # c12
# c13
' both ': -1 # c14
# c15
- # c16
# c17
- false # c18
# c19
!foo '5. .xQA 3': .nan # c20
# c21
"\_\a\"'Ѓ,九\ \\Ͷ&": !x!null &a2 # c22
# c23
&a3 "🌮\n>\"Ⱥ丷\0": .inf # c24
| grammar | invalid |
| tags | none |
| features | none |
| meaning (none stated) | |
go-yaml libfyaml perlref yamlstar
refuse by the parser
yaml.v3
accept
yaml.v3
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, invalid refuse by the parser | n/i | n/i | ||
| libfyaml | rejected, invalid refuse by the parser | not scored | n/i | stdin:12:14: error: did not find expected '-' indicator | |
| yamlstar | rejected, invalid refuse by the parser | not scored | n/i | Error: parse: Parser finished before end of input | |
| yaml.v3 | accepted, explained accept | not scored | differentdocument 0written " \a\"'Ѓ,九 \\Ͷ&": null
? "\U0001F32E\n>\"Ⱥ丷\0"
: .inf
"0":
- - ".inf"
- ' both ': -1
- null
- false
5. .xQA 3: .nan
merged0: 3
read back map[string]interface {}{"0":[]interface {}{[]interface {}{".inf"}, map[string]interface {}{" both ":-1}, interface {}(nil), false}, "5. .xQA 3":NaN, "merged0":3, "\ue052\u00a0\a\"'Ѓ,九 \\Ͷ&":interface {}(nil), "🌮\n>\"Ⱥ\ue0a0丷\ue019\x00":+Inf} |
tag-shorthand-unchecked: yaml.v3 reads a tag shorthand up to the next space, and takes characters ns-tag-char excludes: "!!!int" and "!!bina[ry" are accepted | |
| go-yaml | rejected, invalid refuse by the parser | not scored | refused | [12:15] a tag cannot hold ',' |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.