sha256 27a115fb80049870a26bbd52c0c84f58a38f98a01900071858ec8512c87dc612
# c1 !!str o: &m3 !!omap # c2 # c3 - # c4 # c5 o0: 7 # c6 # c7 - # c8 # c9 o1: -3 # c10 # c11 - # c12 # c13 o2: -1 # c14 # c15 again: *m3 # c16 # c17 p: !!pairs # c18 # c19 - # c20 # c21 p0: 1 # c22 # c23 - # c24 # c25 p0: 2 # c26 # c27 s: !!set # c28 # c29 s0: ~ # c30 # c31 s1: ~ # c32 # c33 s2: ~ # c34 --- &a1 ~ # c35
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/cr node/alias node/anchor node/tag-shorthand presentation/comment-above presentation/comment-inline presentation/document-marker presentation/multi-document presentation/plain presentation/tab-separation value/int value/mapping value/non-string-key value/null value/sequence |
| meaning (none stated) | |
go-yaml libfyaml
accept
perlref yaml.v3 yamlstar
refuse by the parser
go-yaml
{"again":{"o0":7,"o1":-3,"o2":-1},"o":{"o0":7,"o1":-3,"o2":-1},"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null,"s2":null}}
nulllibfyaml
{"again":{"o0":7},"o":[{"o0":7},{"o1":-3},{"o2":-1}],"p":[{"p0":1},{"p0":2}],"s":{"s0":null,"s1":null,"s2":null}}
null
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, explained refuse by the parser | n/i | n/i | lone-cr-break: the parser takes a lone CR as a line break in some places and not in others: "x\r\r", "x\r# c", "!foo\r- a", "\r!" and an empty line written "\n\r" reject the document, where [28] b-break takes a lone CR. Any valid document holding a lone CR is covered, so a defect of another kind in such a document is hidden | |
| libfyaml | accepted accept | not scored | n/i | ||
| yamlstar | rejected, explained refuse by the parser | not scored | n/i | lone-cr-break: the reference parser takes a lone CR as a line break in some places and not in others: "x\r\r", "x\r# c", "!foo\r- a", "\r!" and an empty line written "\n\r" reject the document, where [28] b-break takes a lone CR. Any valid document holding a lone CR is covered, so a defect of another kind in such a document is hidden | Error: parse: Parser finished before end of input |
| yaml.v3 | rejected, explained refuse by the parser | not scored | refused | tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document | yaml.v3: yaml: line 4: found character that cannot start any token |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.