sha256 ba8f3852423e9693b08bcddf37dc2e6ab72f01345a897ff093633eb627bc735d
%TAG !n-1! tag:yaml.org,2002:
---
# c1
? 'base'
: # c2
&m1
# c3
? 'b0'
: -2 # c4
# c5
? 'b1'
: -6 # c6
# c7
? 'item'
: # c8
# c9
? <<
: # c10
# c11
- *m1 # c12
# c13
- # c14
!foo
# c15
? ! 'c0'
: !n-1!int 0x3 # c16
# c17
? 'd0'
: -2 # c18
# c19
? 'b0'
: !n-1!int 0x63 # c20
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/crlf node/alias node/anchor node/tag-handle node/tag-local node/tag-non-specific presentation/comment-above presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/number-hex presentation/plain presentation/property-line presentation/quoted-single presentation/tag-directive value/int value/mapping value/merge-key value/non-string-key value/sequence |
| meaning (yaml-1.2-core) | {"base":{"b0":-2,"b1":-6},"item":{"\u003c\u003c":[{"b0":-2,"b1":-6},{"c0":3}],"b0":99,"d0":-2}} |
go-yaml libfyaml perlref yaml.v3
accept
yamlstar
refuse by the loader
go-yaml libfyaml
{"base":{"b0":-2,"b1":-6},"item":{"\u003c\u003c":[{"b0":-2,"b1":-6},{"c0":3}],"b0":99,"d0":-2}}yaml.v3
{"base":{"b0":-2,"b1":-6},"item":{"b0":99,"b1":-6,"c0":3,"d0":-2}}
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | ok | n/i | ||
| yamlstar | rejected, explained refuse by the loader | rejected, explained | n/i | integer-past-long: the loader builds integers as 64-bit longs, and rejects one past their range, written in decimal, octal or hexadecimal value: integer-past-long: the loader builds integers as 64-bit longs, and rejects one past their range, written in decimal, octal or hexadecimal |
Error: YAML integer out of supported range: 0x3. Supported range is -9007199254740991 to 9007199254740991. Quote the value to load or dump it as a string. |
| yaml.v3 | accepted accept | different, explained | same | 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.