sha256 8ded31c5e99863a1e1b4b2387e610b90fcbc800d414cdd07c882c97e98e76f42
%-YAML 1.1
%TAG !n-1! tag:yaml.org,2002:
---
'base': # c1
&m4
'o9': -6 # c2
'o': # c3
!n-1!omap
- # c4
'o0': -7 # c5
- # c6
<<: # c7
'o9': 7 # c8
- # c9
'o1': 4 # c10
- # c11
'o8': *m4 # c12
'p': # c13
!n-1!pairs
- # c14
'p0': 1 # c15
- # c16
'p0': 2 # c17
| 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
{"base":{"o9":-6},"o":{"\u003c\u003c":{"o9":7},"o0":-7,"o1":4,"o8":{"o9":-6}},"p":[{"p0":1},{"p0":2}]}libfyaml
{"base":{"o9":-6},"o":[{"o0":-7},{"\u003c\u003c":{"o9":7}},{"o1":4},{"o8":{"o9":-6}}],"p":[{"p0":1},{"p0":2}]}yamlstar
{"base":{"o9":-6},"o":[{"o0":-7},{"o9":7},{"o1":4},{"o8":{"o9":-6}}],"p":[{"p0":1},{"p0":2}]}
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 unknown directive name |
| go-yaml | accepted accept | not scored | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.