This commit is contained in:
2026-03-24 13:40:36 +00:00
parent 6423c6b4bc
commit 7a65fbe02c
6 changed files with 99 additions and 45 deletions
-38
View File
@@ -1,41 +1,3 @@
# PR-1.4 — Define the Minimal Core ISA Surface (Bytecode-Only)
### Briefing
After deleting legacy opcodes, we must explicitly define the **minimal ISA** that remains. This PR establishes the canonical core ISA module boundary and documentation.
### Target
* Introduce a “core ISA” definition that is small and stable.
* Provide clear docs for stack effects and operand encoding at a bytecode level.
### Work items
* Create/reshape modules so the “core ISA” is clearly isolated (e.g., `isa/core` or similar).
* Add module docs describing:
* Instruction encoding rules.
* Stack-based evaluation model (bytecode-level).
* Which instructions exist at this stage (no closures/coroutines yet unless already in the spec subset).
* Add a `docs/bytecode/ISA_CORE.md` (or equivalent) that is short but precise.
* Ensure the ISA definition is used by:
* Encoder/decoder.
* Disasm.
* Verifier (later).
### Acceptance checklist
* [ ] Minimal ISA is explicitly defined and documented.
* [ ] No legacy instructions remain.
* [ ] `cargo test` passes.
### Tests
* Existing tests only.
---
# PR-1.5 — Bytecode Module Pruning (Delete Unused/Experimental Modules)
### Briefing