generated/980

sha256 f146d27336301ba7121601fe5ea722a4ac3ff10114afcef808a4e875bdd8b9e0

Document

%TAG !TAG2! tag:yaml.org,2002:
---
&a2
# c1
&a1 <<: # c2
 !TAG2!map
 # c3
 merged2: -7 # c4
# c5
!TAG2!int 0: -1.026e+340 # c6
# c7
"\u0041\u0023\u0039\u0032\u002D\u0076\u0023": !TAG2!bool FALSE # c8

Corpus

grammarvalid, vouched for up to construct
representation/float-out-of-rangeopen from construct on: each parser's stance decides
featuresbreak/crlf node/anchor node/tag-handle presentation/comment-above presentation/comment-inline presentation/document-marker presentation/escape-unicode presentation/plain presentation/property-line presentation/quoted-double presentation/tag-directive value/big-float value/bool value/int value/mapping value/merge-key value/non-string-key
meaning (yaml-1.2-core){"0":-1.026e+340,"\u003c\u003c":{"merged2":-7},"A#92-v#":false}

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml

{"0":-10260000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,"\u003c\u003c":{"merged2":-7},"A#92-v#":false}

libfyaml

{"0":"-1.026e+340","\u003c\u003c":{"merged2":-7},"A#92-v#":false}

yaml.v3

{"0":"-1.026e+340","A#92-v#":false,"merged2":-7}

yamlstar



roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept different, explained n/i value: float-past-double-as-text: the Python binding returns a float past a double's range as a string, "-9.948e-328"
yamlstar accepted accept different, explained n/i value: escape-as-decimal: the reference parser writes a \x, \u or \U escape as the decimal number of its code point instead of the character: "\u00e9" comes back as "233", and "\x2D\x61" as "4597"
yaml.v3 accepted accept different, explained same value: float-past-float64: a float too small for a float64 decodes as 0, and one too large is left a string, because yaml.v3 does not resolve it to a float: 9.999e+442 comes back as "9.999e+442"
go-yaml accepted accept ok same

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.