sha256 0957dd26008fb7a0852364a70ff18c239c5e81d521c9e99a84f5e39b140dccdc
k: !!int abc
| grammar | valid, vouched for up to construct |
| tag/int-not-an-integer | open from construct on: each parser's stance decides |
| tag/secondary | accept from compose on, 6.8.2.2: the secondary handle is declared by default as tag:yaml.org,2002: |
| features | none |
| meaning (none stated) | |
go-yaml yaml.v3 yamlstar
refuse by the loader
libfyaml
accept, then the loader refuses past parse
perlref
accept
No source answered.
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted refuse by the loader | not scored | n/i | ValueError: Failed to parse YAML/JSON | |
| yamlstar | rejected, explained refuse by the loader | not scored | 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 | Error: YAML integer out of supported range: abc. Supported range is -9007199254740991 to 9007199254740991. Quote the value to load or dump it as a string. |
| yaml.v3 | rejected, as declared refuse by the loader | not scored | refused | tag/int-not-an-integer: yaml.v3 refuses this on purpose | yaml.v3: yaml: cannot decode !!str `abc` as a !!int |
| go-yaml | rejected, as declared refuse by the loader | not scored | refused | tag/int-not-an-integer: go-yaml refuses this on purpose | [1:10] cannot read "abc" as !!int |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.