sha256 69597a26afb4270a933fbcd558f3cf64025d253b52899fbce4ec6e5f98d7470c
%YAML 1.1
---
? "base"
: &m1 # c1
? "b0"
: 8 # c2
? "b1"
: 4 # c3
? "item"
: # c4
? <<
: # c5
- *m1 # c6
- # c7
? "c0"
: 3 # c8
? "c1"
: -7 # c9
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/crlf node/alias node/anchor presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/plain presentation/quoted-double presentation/tab-separation presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"base":{"b0":8,"b1":4},"item":{"b0":8,"b1":4,"c0":3,"c1":-7}} |
go-yaml perlref yamlstar
accept
libfyaml yaml.v3
refuse by the parser
go-yaml yamlstar
{"base":{"b0":8,"b1":4},"item":{"b0":8,"b1":4,"c0":3,"c1":-7}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | rejected, explained refuse by the parser | rejected, explained | n/i | tab-after-explicit-key: fy-tool rejects the ':' of an explicit entry whose '?' a tab follows: "?\ta\n: b" is rejected, where s-separate takes the tab before a scalar key value: tab-after-explicit-key: fy-tool rejects the ':' of an explicit entry whose '?' a tab follows: "?\ta\n: b" is rejected, where s-separate takes the tab before a scalar key |
stdin:12:6: error: Indentation used tabs for ':' indicator |
| yamlstar | accepted accept | ok | n/i | ||
| yaml.v3 | rejected, explained refuse by the parser | rejected, explained | refused | tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document value: tab-as-separation: yaml.v3 rejects a tab after a block indicator or before the node on a line, where s-separate-in-line takes a tab: "-\tfalse" and "?\ta" reject the document |
yaml.v3: yaml: line 3: found character that cannot start any token |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.