sha256 e47959c4a7e727502286446ef2fa4c5f33daa469e84b4baae27ec4b365e0bc26
%YAML 1.1
---
'base': # c1
&m4
'o9': -8 # c2
'o': # c3
!!omap &m3
- # c4
'o0': -1 # c5
- # c6
'o1': -4 # c7
- # c8
<<: *m4 # c9
'again': *unanchored # c10
's': # c11
!!set
's0': ~ # c12
's1': ~ # c13
| grammar | valid, vouched for up to construct |
| anchor/alias-undefined | reject from compose on, 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none |
| features | node/alias node/anchor node/tag-shorthand presentation/comment-inline presentation/document-marker presentation/plain presentation/property-line presentation/quoted-single presentation/tag-before-anchor presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/null value/sequence |
| meaning (none stated) | |
go-yaml yaml.v3
refuse by the composer
libfyaml
accept, then the loader refuses past parse
perlref
accept
yamlstar
refuse by the loader
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 | ValueError: Failed to parse YAML/JSON | |
| yamlstar | rejected, settled refuse by the loader | not scored | n/i | anchor/alias-undefined: 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none | Error: Unknown anchor: unanchored |
| yaml.v3 | rejected, settled refuse by the composer | not scored | refused | anchor/alias-undefined: 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none | yaml.v3: yaml: unknown anchor 'unanchored' referenced |
| go-yaml | rejected, settled refuse by the composer | not scored | refused | anchor/alias-undefined: 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none | [14:11] could not find alias "unanchored" |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.