sha256 b5b9e295ec2c0d32283591fb820f0ba449b3a5367d08606d1e8c60e073f284be
%YAML 1.2
---
? base
: # c1
&m1
? b0
: -1 # c2
? b1
: 0o2 # c3
? item
: # c4
? <<
: &m2 {? c0: 0o4} # c5
? d0
: -8 # c6
? !foo d1
: -2 # c7
? b0
: 0o143 # c8
? again
: *unanchored # c9
| 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-local presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/flow-collection presentation/number-octal presentation/plain presentation/property-line presentation/tab-separation presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key |
| meaning (none stated) | |
go-yaml
refuse by the composer
libfyaml yaml.v3
refuse by the parser
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 | rejected, settled refuse by the parser | 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. The parser checks this compose rule at parse | stdin:4:1: error: Indentation used tabs for ':' indicator |
| 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 tag: !foo |
| yaml.v3 | rejected, settled refuse by the parser | 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: found incompatible YAML document |
| 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 | [21:4] could not find alias "unanchored" |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.