sha256 a7cde1d4ad7449d695f32510eb057e261c72c5b6d0b7889fcb21d14c5a14fe99
&a1 # c1 'hI': # c2 --- >3- 2r#
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/anchor presentation/block-folded presentation/block-indicator presentation/comment-above presentation/comment-inline presentation/document-marker presentation/multi-document presentation/quoted-single value/mapping value/null value/string |
| meaning (none stated) | |
go-yaml perlref yamlstar
accept
libfyaml yaml.v3
refuse by the parser
go-yaml yamlstar
{"hI":null}
"2r#"
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | rejected, explained refuse by the parser | not scored | n/i | indicator-counted-from-0: fy-tool counts a top-level block scalar's indentation indicator from column 0. The root node has n = -1 ([207] l-bare-document), and [170] sets the content indentation to n+m, so "--- |3" holds its content at 2 spaces, as the column 0 content of example 9.5 needs. After a reserved directive, fy-tool writes the warning "Unsupported directive" first, and the indentation error after it | stdin:6:1: error: block scalar with wrongly indented line after spaces only |
| yamlstar | accepted accept | not scored | n/i | ||
| yaml.v3 | rejected, explained refuse by the parser | not scored | refused | indicator-counted-from-0: yaml.v3 counts a top-level block scalar's indentation indicator from column 0. The root node has n = -1 ([207] l-bare-document), and [170] sets the content indentation to n+m, so "--- |3" holds its content at 2 spaces, as the column 0 content of example 9.5 needs | yaml.v3: yaml: line 5: 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.