sha256 808484d4e761835f54405758bba0e6805611788adfa8b96d249a3ba432797cd4
%TAG !TAG2! tag:yaml.org,2002: --- !TAG2!seq # c1 - # c2 !TAG2!seq # c3 - NULL # c4 # c5 - # c6 # c7 2: ! [] # c8 # c9 - # c10 # c11 "": TRUE # c12 # c13 - 7 # c14 # c15 - # c16 ! &a1 # c17 "-1_0": # c18 # c19 - 316 # c20 # c21 - NULL # c22 # c23 - !TAG2!bool FALSE # c24 # c25 - |4- yes ... &a1 FALSE # c26
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/cr node/anchor node/tag-handle node/tag-non-specific presentation/block-indicator presentation/block-literal presentation/comment-above presentation/comment-inline presentation/document-marker presentation/document-suffix presentation/flow-collection presentation/multi-document presentation/plain presentation/property-line presentation/quoted-double presentation/tag-before-anchor presentation/tag-directive value/bool value/empty-collection value/int value/mapping value/non-string-key value/null value/sequence value/string |
| meaning (none stated) | |
go-yaml libfyaml
accept
perlref yaml.v3 yamlstar
refuse by the parser
go-yaml libfyaml
[[null,{"2":[]},{"":true}],7,{"-1_0":[316,null,false]},"yes"]
false
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 | bare-document-after-end: yaml.v3 requires a "---" before every document after the first, so a bare document after a "..." end marker rejects the stream | yaml.v3: yaml: line 33: did not find expected <document start> |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.