sha256 35a59fcb554565eef79ae753763c5aca94c7301e8d53fa72013a17162ce334cc
# c1
? "\U00000062\U00000061\U00000073\U00000065"
: # c2
&m1
# c3
? "\U00000062\U00000030"
: 0o7 # c4
# c5
? "\U00000062\U00000031"
: 0o2 # c6
# c7
? "\U00000062\U00000032"
: 0o2 # c8
# c9
? !foo "\U00000069\U00000074\U00000065\U0000006D"
: # c10
# c11
? <<
: *m1 # c12
# c13
? "\U00000062\U00000030"
: 0o143 # c14
| grammar | valid, vouched for up to construct |
| encoding/bom | open from parse on: each parser's stance decides |
| features | break/crlf encoding/byte-order-mark node/alias node/anchor node/tag-local presentation/comment-above presentation/comment-inline presentation/escape-long presentation/explicit-key presentation/number-octal presentation/plain presentation/property-line presentation/quoted-double value/int value/mapping value/merge-key value/non-string-key |
| meaning (yaml-1.2-core) | {"base":{"b0":7,"b1":2,"b2":2},"item":{"\u003c\u003c":{"b0":7,"b1":2,"b2":2},"b0":99}} |
go-yaml libfyaml yaml.v3
accept
perlref yamlstar
refuse by the parser
go-yaml libfyaml
{"base":{"b0":7,"b1":2,"b2":2},"item":{"\u003c\u003c":{"b0":7,"b1":2,"b2":2},"b0":99}}yaml.v3
{"base":{"b0":7,"b1":2,"b2":2},"item":{"b0":99,"b1":2,"b2":2}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | rejected, explained refuse by the parser | n/i | n/i | bom-before-content: the parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document | |
| libfyaml | accepted accept | ok | n/i | ||
| yamlstar | rejected, explained refuse by the parser | rejected, explained | n/i | bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document value: bom-before-content: the reference parser takes a byte order mark before "---", a directive, a space or a break, and rejects one right before content or a comment, where [202] l-document-prefix takes it: "\ufeffa: 1" rejects the document |
Error: parse: Parser finished before end of input |
| yaml.v3 | accepted accept | different, explained | differentdocument 0written base:
b0: 7
b1: 2
b2: 2
item:
b0: 99
b1: 2
b2: 2
read back {"base":{"b0":7,"b1":2,"b2":2},"item":{"b0":99,"b1":2,"b2":2}} |
value: merge-key-applied: yaml.v3 applies the 1.1 merge key: it merges the mapping under "<<" into the mapping that holds it, where the core schema keeps "<<" as a plain key | |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.