Skip to content

docs: bring DOCS into line with multi-bit wires and topology v02 - #70

Merged
jeffersonmourak merged 1 commit into
mainfrom
s12-docs-pass
May 25, 2026
Merged

docs: bring DOCS into line with multi-bit wires and topology v02#70
jeffersonmourak merged 1 commit into
mainfrom
s12-docs-pass

Conversation

@jeffersonmourak

@jeffersonmourak jeffersonmourak commented May 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Multi-bit support is now a real part of the compiled surface; bring DOCS/ in line with it.
  • Language reference, decisions log, runtime contract, preview reference, and getting-started walkthrough all describe [N] width annotations, slice / bit-index / concat, parametric sub-circuits via <W>/[W], parametric built-in macros, the BigInt paired WASM ABI, and topology format v02.
  • Stale "width=1 only" caveats removed from architecture.md, simulation-engine.md, and CLAUDE.md; new E014 / E015 / E016 codes added to the diagnostics table; the multi-bit plan moved under DOCS/archive/.

Test plan

  • Skim each modified doc in the GitHub diff view.
  • Confirm internal links resolve (DOCS/language.mdcircuit-format.mdwasm-api.md).
  • Confirm DOCS/archive/index.md row points at the moved file path.
  • No source code or fixtures changed — CI runs are a sanity check only.

Multi-bit support is now a real part of the surface. Update the
documentation set so the language reference, decisions log, runtime
contract, preview reference, and getting-started walkthrough all
describe the world as compiled today.

- DOCS/language.md: declarations and signals carry `[N]` width
  annotations; new §6 covers literal widths, slice / bit-index /
  concat (low operand on the left), parametric sub-circuits via
  `<W>`/`[W]`, and parametric built-in macros.
- DOCS/decisions/language.md: append a Multi-bit wires section with
  the locked decisions (LSB=0 bit numbering, half-open slice, concat
  ordering, parameter scope, default width 1, E014/E015/E016 codes,
  BigInt WASM ABI, topology v02).
- DOCS/circuit-format.md: width annotation in the syntax overview,
  per-kind width rules in the primitives table, slice / concat /
  bit-index in the signal grammar, topology v02, diagnostics table.
- DOCS/simulation-engine.md: pool storage described as lazily
  allocated multi-tier; ComponentType / Component.Kind extended with
  slice and concat; per-kind port-name table extended; remove the
  stale width=1-only caveats.
- DOCS/architecture.md: rewrite the width=1 caveat to reflect the
  lazily-allocated multi-tier layout.
- DOCS/preview.md: document --expand-display, multi-bit pin labels,
  and the three LED rendering modes; bump section magic to v02.
- DOCS/getting-started.md: migrate the Node walkthrough to the
  BigInt paired ABI (setPin(id,value,defined),
  getOutputValue/getOutputDefined) and add a multi-bit driving
  example.
- CLAUDE.md: rewrite fact #7 in the engine summary; re-aim the plan
  pointer at the archived path.
- DOCS/archive/{index.md,plan-multi-bit-language.md}: archive the
  multi-bit plan and add its index row.
@jeffersonmourak
jeffersonmourak merged commit bdaf0ee into main May 25, 2026
3 checks passed
@jeffersonmourak
jeffersonmourak deleted the s12-docs-pass branch May 25, 2026 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant