sha256 73d75107c7077f385481de5acc85274f6648a5913e343996bf219173d1092603
%YAM.2
%TAG !x! tag:yaml.org,2002:
---
? base
: # c1
&m1
? b0
: -6 # c2
? b1
: -7 # c3
? item
: # c4
!foo
? <<
: # c5
&m2
? c0
: 01 # c6
? d0
: !x!int -1 # c7
? b0
: 099 # c8
? ! again
: *m2 # c9
| grammar | valid, vouched for up to parse |
| directive/reserved | accept from compose on, 6.8: a directive a processor does not recognize is ignored with a warning, not refused |
| features | none |
| meaning (none stated) | |
go-yaml libfyaml perlref yamlstar
accept
yaml.v3
refuse by the parser
go-yaml libfyaml
{"again":{"c0":1},"base":{"b0":-6,"b1":-7},"item":{"\u003c\u003c":{"c0":1},"b0":99,"d0":-1}}yamlstar
{"again":{"c0":1},"base":{"b0":-6,"b1":-7},"item":{"b0":99,"c0":1,"d0":-1}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | not scored | n/i | ||
| yamlstar | accepted accept | not scored | n/i | ||
| yaml.v3 | rejected, explained refuse by the parser | not scored | refused | reserved-directive-refused: yaml.v3 rejects a directive other than %YAML and %TAG, and a directive name with a character other than a letter, a digit, '-' or '_', where 6.8 ignores a reserved directive with a warning | yaml.v3: yaml: found unexpected non-alphabetical character |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.