sha256 a5c0cec342ae714a5e13c0d8fe479fdbf0f7120742f79cce809b61456e6eb3b0
# c1 !<!foo> 'base': &m1 # c2 'b0': 0o11 # c3 'b1': -2 # c4 'item': ! # c5 <<: &m2 # c6 'c0': 0o6 # c7 ! 'd0': 0o10 # c8 'd1': -9 # c9 'again': *m2 ... # c10 !<tag:yaml.org,2002:merge> <<: # c11 - # c12 'merged3': 0o3 # c13 - # c14 'merged2': -1 # c15 !<tag:yaml.org,2002:str> ' leading': # c16 - >1- Null ... &a1 >2- 1
| grammar | valid, vouched for up to construct |
| tags | none |
| features | node/alias node/anchor node/tag-non-specific node/tag-verbatim presentation/block-folded presentation/block-indicator presentation/comment-above presentation/document-suffix presentation/multi-document presentation/number-octal presentation/plain presentation/property-line presentation/quoted-single value/int value/mapping value/merge-key value/non-string-key value/sequence value/string |
| meaning (none stated) | |
go-yaml perlref
accept
libfyaml yaml.v3
refuse by the parser
yamlstar
refuse by the loader
go-yaml
{"again":{"c0":6},"base":{"b0":9,"b1":-2},"item":{"\u003c\u003c":{"c0":6},"d0":8,"d1":-9}}
{" leading":["Null"],"merged2":-1,"merged3":3}
"1"
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:40:1: error: block scalar with wrongly indented line after spaces only |
| yamlstar | rejected, explained refuse by the loader | not scored | n/i | tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" | Error: Unknown tag: !foo |
| yaml.v3 | rejected, explained refuse by the parser | not scored | refused | bare-document-after-end: yaml.v3 requires a "---" before every document after the first, so a bare document after a "..." end marker rejects the stream | yaml.v3: yaml: line 23: 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.