sha256 1ce66558ada7540bb9920c769c5ed3db38cb805926ce6c4f44f63616de7e9ff2
%YAM'L 1.2
---
!<tag:yaml.org,2002:set>
'base': &m1 # c1
'b0': 5 # c2
'b1': -4 # c3
'item': # c4
!<tag:yaml.org,2002:merge> <<: !<tag:yaml.org,2002:seq> # c5
- # c6
'c0': -9 # c7
- *m1 # c8
| grammar | valid, vouched for up to parse |
| directive/reserved | accept from compose on, 6.8: a directive a processor does not recognize is ignored with a warning, not refused |
| encoding/bom | open from parse on: each parser's stance decides |
| features | none |
| meaning (none stated) | |
go-yaml libfyaml perlref
accept
yaml.v3
refuse by the parser
yamlstar
refuse by the loader
go-yaml
{"base":{"b0":5,"b1":-4},"item":{"b0":5,"b1":-4,"c0":-9}}libfyaml
{"base":{"b0":5,"b1":-4},"item":{"\u003c\u003c":[{"c0":-9},{"b0":5,"b1":-4}]}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | not scored | n/i | ||
| yamlstar | rejected after the parse refuse by the loader | not scored | n/i | the loader rejects a document the corpus vouches for only up to parse | Error: Unknown tag: tag:yaml.org,2002:merge |
| yaml.v3 | rejected, explained refuse by the parser | not scored | refused | reserved-directive-refused: yaml.v3 rejects a directive other than %YAML and %TAG, and a directive name with a character other than a letter, a digit, '-' or '_', where 6.8 ignores a reserved directive with a warning | yaml.v3: yaml: found unexpected non-alphabetical character |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.