sha256 5fc9fe6f2b8ae5d019e9aa5c1280faba939eefa4127c2d5458dfe9bcb3f166be
%YAML 1.2 --- base: # c1 &m1 b0: +1 # c2 b1: --1 # c3 item: # c4 <<: *m1 # c5 d0: -5 # c6 d1: +2 # c7
| grammar | valid, vouched for up to parse |
| encoding/bom | open from parse on: each parser's stance decides |
| features | none |
| meaning (none stated) | |
go-yaml libfyaml perlref yamlstar
accept
yaml.v3
refuse by the parser
go-yaml libfyaml
{"base":{"b0":1,"b1":"--1"},"item":{"\u003c\u003c":{"b0":1,"b1":"--1"},"d0":-5,"d1":2}}yamlstar
{"base":{"b0":1,"b1":"--1"},"item":{"b0":1,"b1":"--1","d0":-5,"d1":2}}
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 | accepted accept | not scored | n/i | ||
| yaml.v3 | rejected, explained refuse by the parser | not scored | refused | yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document | yaml.v3: yaml: found incompatible YAML document |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.