sha256 6b79edc878a3d1fd6f4c5d43ca5b6749594c4e9625be2b681299fbb5414e755a
--- "\n"# c1
| grammar | invalid |
| tags | none |
| features | none |
| meaning (none stated) | |
go-yaml libfyaml perlref yamlstar
refuse by the parser
yaml.v3
accept
yaml.v3
"\n"
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, invalid refuse by the parser | n/i | n/i | ||
| libfyaml | rejected, invalid refuse by the parser | not scored | n/i | stdin:2:5: error: invalid comment without whitespace after double-quoted scalar | |
| yamlstar | rejected, invalid refuse by the parser | not scored | n/i | Error: parse: Parser finished before end of input | |
| yaml.v3 | accepted, explained accept | not scored | same | comment-without-space: yaml.v3 takes a comment right after a closing quote or bracket, where s-b-comment needs a space before the '#': "{}# c1" is accepted | |
| go-yaml | rejected, invalid refuse by the parser | not scored | refused | [2:5] a comment must be preceded by a space, and a scalar cannot begin with '#' |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.