generated/960/stream

sha256 6c2143d6adbf1d510caf1582c02977ee2a3890ae1025fc75557dba174ba39a2e

Document

%YAML 1.1
---
>3-
  1.5
---
907439257336319235148046159016519417069441121
---
&a1	>3-
  1

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
featuresencoding/byte-order-mark node/anchor presentation/block-folded presentation/block-indicator presentation/document-marker presentation/multi-document presentation/plain presentation/tab-separation presentation/yaml-directive value/big-int value/string
meaning (none stated)

Answer groups

verdict split

go-yaml perlref

accept

libfyaml yaml.v3

refuse by the parser

yamlstar

refuse by the loader

value

go-yaml

"1.5"
907439257336319235148046159016519417069441121
"1"

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml rejected, explained refuse by the parser not scored n/i indicator-counted-from-0: fy-tool counts a top-level block scalar's indentation indicator from column 0. The root node has n = -1 ([207] l-bare-document), and [170] sets the content indentation to n+m, so "--- |3" holds its content at 2 spaces, as the column 0 content of example 9.5 needs. After a reserved directive, fy-tool writes the warning "Unsupported directive" first, and the indentation error after it stdin:4:1: error: block scalar with wrongly indented line after spaces only
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: 907439257336319235148046159016519417069441121. Supported range is -9007199254740991 to 9007199254740991. Quote the value to load or dump it as a string.
yaml.v3 rejected, explained refuse by the parser not scored refused indicator-counted-from-0: yaml.v3 counts a top-level block scalar's indentation indicator from column 0. The root node has n = -1 ([207] l-bare-document), and [170] sets the content indentation to n+m, so "--- |3" holds its content at 2 spaces, as the column 0 content of example 9.5 needs yaml.v3: yaml: line 3: did not find expected <document start>
go-yaml accepted accept not scored same

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