sha256 252fdb2a8fff489e2c0b7d3c578850eb830115422270fbd4b7f6fb9922a7e754
%YAML 1.1 --- [&a1 "--P"]# c1
| grammar | invalid |
| encoding/bom | open from parse on: each parser's stance decides |
| features | none |
| meaning (none stated) | |
go-yaml libfyaml perlref yamlstar
refuse by the parser
yaml.v3
accept
yaml.v3
["--P"]
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:3:12: error: invalid comment after end of flow sequence | |
| 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 | [3:12] 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.