Skip to content

docs: the design choices the core needs for the proofs - #27

Draft
benjaminshawki wants to merge 37 commits into
mainfrom
proposal/language-choices
Draft

benjaminshawki wants to merge 37 commits into
mainfrom
proposal/language-choices

Conversation

@benjaminshawki

@benjaminshawki benjaminshawki commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

What the core needs so that the DEFLATE, interop and machine code proofs can come back, where Design.md leaves it open. One document per choice in @ether/spec/design/, one commit each, and Choices.md as the index with all questions for the owner in one list.

  • Shapes.md: the principle the rest is written in. A value is its shape, declared once and inferred; behaviour is rules on shapes, no inheritance.
  • Conversions.md: what a declared type does with a value that is not one yet.
  • Numbers.md: numbers below zero, widths as ranges, .mod for wrapping and signed bits, bits as a base.
  • Formats.md: a binary format as a shape over bits, read by the text matcher; an index, then a table, for speed.
  • Reading.md: reading other languages' text through shapes; no regex in the core.
  • Records.md: records as values whose type is their shape; shapes that take given values.

Each has what is decided, the options weighed, a recommendation with how sure it is, small PRs in order, and what it found on main. Draft: for discussion before anything is built.

@benjaminshawki benjaminshawki changed the title docs: the language choices the proofs need docs: the design choices the core needs for the proofs Oct 17, 2026
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