sha256 cc020dfbca7118d044d5c190661438450f56740615529bf909d4c2a87bd0f33d
---
# c1
!
foo "base": &m1 {"b0": -2, "b1": 0x3, "b2": 0x3}
# c2
"item": {<<: *m1, !foo "d0": -3, ! "d1": 0x0}
| 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 yaml.v3
accept
yamlstar
refuse by the loader
go-yaml libfyaml
{"foo \"base\"":{"b0":-2,"b1":3,"b2":3},"item":{"\u003c\u003c":{"b0":-2,"b1":3,"b2":3},"d0":-3,"d1":0}}yaml.v3
{"foo \"base\"":{"b0":-2,"b1":3,"b2":3},"item":{"b0":-2,"b1":3,"b2":3,"d0":-3,"d1":0}}
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: !foo |
| yaml.v3 | accepted accept | not scored | differentdocument 0written foo "base":
b0: -2
b1: 3
b2: 3
item:
b0: -2
b1: 3
b2: 3
d0: -3
d1: 0
read back {"foo \"base\"":{"b0":-2,"b1":3,"b2":3},"item":{"b0":-2,"b1":3,"b2":3,"d0":-3,"d1":0}} |
||
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.