generated/288/substitute an indicator/7

sha256 97f5ecc60e2ae845e3fc96583fa8732759a1f2960a294348c268c984cefdb128

Document

%TAG !TAG2! tag:yaml.org,2002:
---
? !TAG2!str ""
: {? "---": &a1 TRUE, ? +0b11: 0x1} # c1
? 0b1010
: !TA?2!null null # c2
? 3.6997341983728704
: null # c3

Corpus

grammarinvalid
encoding/bomopen from parse on: each parser's stance decides
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml perlref yamlstar

refuse by the parser

libfyaml yaml.v3

accept

value split

libfyaml

{"":{"+0b11":1,"---":true},"0b1010":"null","3.6997341983728704":null}

yaml.v3



roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, invalid refuse by the parser n/i n/i
libfyaml accepted, explained accept not scored n/i tag-shorthand-unchecked: fy-tool reads a tag shorthand up to the next space, and takes characters ns-tag-char excludes: "!!n-1!int -2" is accepted
yamlstar rejected, invalid refuse by the parser not scored n/i Error: parse: Parser finished before end of input
yaml.v3 accepted, explained accept not scored same tag-shorthand-unchecked: yaml.v3 reads a tag shorthand up to the next space, and takes characters ns-tag-char excludes: "!!!int" and "!!bina[ry" are accepted
go-yaml rejected, invalid refuse by the parser not scored refused [6:4] a tag handle takes letters, digits and '-' between its '!' characters

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