sha256 0a54334792303c6d4a2909c552770a099b8f9cd0475070efae9596a5d7e459da
---
!!set
? 'base'
: &m1
? 'b0'
: -2
? 'b1'
: -8
? 'b2'
: +1
? 'item'
:
? <<
: &m2
? 'c0'
: +1
? 'c1'
: -1
? 'again'
: *m2
| grammar | valid, vouched for up to parse |
| tags | none |
| features | none |
| meaning (none stated) | |
go-yaml perlref yamlstar
accept
libfyaml yaml.v3
refuse by the parser
go-yaml
{"again":{"c0":1,"c1":-1},"base":{"b0":-2,"b1":"-8 ? 'b2'","null":1},"item":{"\u003c\u003c":{"c0":1,"c1":-1}}}yamlstar
{"again":{"c0":1,"c1":-1},"base":{"b0":-2,"b1":"-8 ? 'b2'","null":1},"item":{"c0":1,"c1":-1}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | rejected, explained refuse by the parser | not scored | n/i | plain-value-continued: fy-tool reads a plain value continued on a more indented line that starts with '?' as a multi-line key: "? a\n: x\n ? b\n: y" is rejected, where s-ns-plain-next-line makes the value "x ? b" | stdin:8:4: error: invalid multiline plain key |
| yamlstar | accepted accept | not scored | n/i | ||
| yaml.v3 | rejected, explained refuse by the parser | not scored | refused | empty-implicit-key: yaml.v3 rejects a block mapping entry that starts with ':', which l-block-map-implicit-entry reads as an empty key: "a: 1\n: 2" rejects the document | yaml.v3: yaml: line 4: did not find expected key |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.