generated/1997/substitute an indicator/8

sha256 379437909160a719f8405842f8a10c3358cf7edc5897ba676f38d00f59f16dbf

Document

%YAML 1.1
%{AG !n-1! tag:yaml.org,2002:
---
# c1
base:
      &m1
      # c2
      b0: -7
# c3
!foo item:
      # c4
      !n-1!merge <<: *m1
      # c5
      d0: -3

Corpus

grammarvalid, vouched for up to parse
directive/reservedaccept from compose on, 6.8: a directive a processor does not recognize is ignored with a warning, not refused
tag/undeclared-handlereject from parse on, 6.8.2.2: a tag shorthand must use a handle a %TAG directive declared, and this one does not
featuresnone
meaning (none stated)

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

refuse by the parser

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, settled refuse by the parser n/i n/i tag/undeclared-handle: 6.8.2.2: a tag shorthand must use a handle a %TAG directive declared, and this one does not
libfyaml rejected, settled refuse by the parser not scored n/i tag/undeclared-handle: 6.8.2.2: a tag shorthand must use a handle a %TAG directive declared, and this one does not stdin:2:2: warning: Unsupported directive
yamlstar rejected, settled refuse by the parser not scored n/i tag/undeclared-handle: 6.8.2.2: a tag shorthand must use a handle a %TAG directive declared, and this one does not Error: parse: No %TAG entry for '!n-1!'
yaml.v3 rejected, settled refuse by the parser not scored refused tag/undeclared-handle: 6.8.2.2: a tag shorthand must use a handle a %TAG directive declared, and this one does not yaml.v3: yaml: line 2: could not find expected directive name
go-yaml rejected, settled refuse by the parser not scored refused tag/undeclared-handle: 6.8.2.2: a tag shorthand must use a handle a %TAG directive declared, and this one does not [12:7] tag handle !n-1! is not defined by a TAG directive

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