generated/2017

sha256 22066850caab1f9656f935efe26553337521ef21bb5e15f9eaedeb8d28ae1884

Document

%YAML 1.2
---
# c1
"\x62\x61\x73\x65": &m1
   # c2
   "\x62\x30": -2
   # c3
   "\x62\x31": -1
# c4
"\x69\x74\x65\x6D":
   # c5
   <<: !<tag:yaml.org,2002:seq>
      # c6
      -
         # c7
         "\x63\x30": +1
         # c8
         "\x63\x31": +9
      # c9
      - *m1
   # c10
   "\x64\x30": !<tag:yaml.org,2002:int> -3
   # c11
   "\x64\x31": -5
   # c12
   "\x62\x30": !<tag:yaml.org,2002:int> +99

Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/crlf node/alias node/anchor node/tag-verbatim presentation/comment-above presentation/document-marker presentation/escape-hex presentation/number-signed presentation/plain presentation/quoted-double presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (yaml-1.2-core){"base":{"b0":-2,"b1":-1},"item":{"\u003c\u003c":[{"c0":1,"c1":9},{"b0":-2,"b1":-1}],"b0":99,"d0":-3,"d1":-5}}

Answer groups

verdict split

go-yaml libfyaml perlref yamlstar

accept

yaml.v3

refuse by the parser

value split

go-yaml libfyaml

{"base":{"b0":-2,"b1":-1},"item":{"\u003c\u003c":[{"c0":1,"c1":9},{"b0":-2,"b1":-1}],"b0":99,"d0":-3,"d1":-5}}

yamlstar

{"105116101109":{"10048":-3,"10049":-5,"9848":99,"9849":-1,"9948":1,"9949":9},"9897115101":{"9848":-2,"9849":-1}}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept ok n/i
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 rejected, explained refuse by the parser rejected, explained refused yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document
value: yaml-directive-1.1-only: yaml.v3 accepts a %YAML directive for version 1.1 only, so "%YAML 1.2" rejects the document
yaml.v3: yaml: found incompatible YAML document
go-yaml accepted accept ok same

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