sha256 f06c7cb60bc591f11b8466ae00ad3e088a5718a79b40f4f74d26cb019eefa8b6
%YAML 1.1 --- |- 'a @
| grammar | invalid |
| tags | none |
| features | none |
| meaning (none stated) | |
go-yaml libfyaml yaml.v3
refuse by the parser
perlref yamlstar
accept
yamlstar
" 'a\n\n@"
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted, explained accept | n/i | n/i | lone-cr-in-block-scalar: the parser takes a line at column 0 into a top-level block scalar when the lines end in lone CRs, where that line ends the scalar: ">-\r .\r5" is accepted with the value " .\n5", and the same document with LF breaks is rejected | |
| libfyaml | rejected, invalid refuse by the parser | not scored | n/i | stdin:6:1: error: plain scalar cannot start with '@' | |
| yamlstar | accepted, explained accept | not scored | n/i | lone-cr-in-block-scalar: the reference parser takes a line at column 0 into a top-level block scalar when the lines end in lone CRs, where that line ends the scalar: ">-\r .\r5" is accepted with the value " .\n5", and the same document with LF breaks is rejected | |
| yaml.v3 | rejected, invalid refuse by the parser | not scored | refused | yaml.v3: yaml: line 6: found character that cannot start any token | |
| go-yaml | rejected, invalid refuse by the parser | not scored | refused | [6:1] '@' is a reserved character |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.