sha256 aed5420e737da9f86847089625cc68269ce19cfa75264a7f37967cbdeb234508
!<tag:yaml.org,2002:set> # c1 ? &a2 << : !<tag:yaml.org,2002:map> # c2 ? +0b11 : -8 # c3 ? -1.0 : # c4 ? &a1 1_000 : *a1 # c5 ? +0b11 :
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/cr node/alias node/anchor node/tag-verbatim presentation/comment-above presentation/explicit-key presentation/plain presentation/property-line presentation/tab-separation value/int value/mapping value/merge-key value/non-string-key value/null |
| meaning (yaml-1.2-core) | {"+0b11":null,"-1.0":null,"1_000":"1_000","\u003c\u003c":{"+0b11":-8}} |
go-yaml
accept
libfyaml perlref yaml.v3 yamlstar
refuse by the parser
go-yaml
{"+0b11":null,"-1.0":null,"1_000":"1_000","\u003c\u003c":{"+0b11":-8}}
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 | rejected, explained refuse by the parser | rejected, explained | n/i | tab-after-explicit-key: fy-tool rejects the ':' of an explicit entry whose '?' a tab follows: "?\ta\n: b" is rejected, where s-separate takes the tab before a scalar key value: tab-after-explicit-key: fy-tool rejects the ':' of an explicit entry whose '?' a tab follows: "?\ta\n: b" is rejected, where s-separate takes the tab before a scalar key |
stdin:8:6: error: Indentation used tabs for ':' indicator |
| yamlstar | rejected, explained refuse by the parser | rejected, explained | 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 value: 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 | rejected, explained | 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 value: 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 3: found character that cannot start any token |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.