Issue #2505: yaml and toml read a declared type through a grammar entry, as json::read[T] does

Open and answer this issue on GitHub.

blocked, yaml · opened 2026-11-21 · updated 2026-11-22 · 1 comment

Part of #1019 After #2501

What it is

The typed read through a grammar entry (ADR-grammar-2, now ADR-grammar-typed-read-v1) used by the other format packages: yaml’s serde layer (#928) and toml read a declared type the way json::read[T] does. This is step 10 of #1019, after the json package grammar (#2501) it copies.

To build

  1. yaml’s serde layer (#928) reads a declared type through a grammar entry that takes the type, in packages/yaml/. Test: a package test reading a struct.
  2. The same for toml (no toml package exists in packages/ today; the builder adds its typed read where the package is, or reports it missing).

Done when

yaml reads a declared struct through a grammar entry that takes the type and its package test passes (and toml the same, or a Found: line saying the package is missing); the last commit says Fixes #N.

Split from #1019 by Claude Code

Comments

keywan-ghadami, 2026-11-22

Driver: not queued, this issue waits for #2501, which is still open (#1819). Set ready again when it is closed.


Generated by Claude Code

Back to Open Issues