pr 08
This commit is contained in:
@@ -15,36 +15,6 @@
|
||||
|
||||
## Phase 3 — JVM-like Symbol Identity: Signature-based Overload & Constant-Pool Mindset
|
||||
|
||||
### PR-07 (5 pts) — Introduce Signature interning (`SigId`) and descriptor canonicalization
|
||||
|
||||
**Briefing**
|
||||
|
||||
Overload must be by signature, not by `name/arity`.
|
||||
|
||||
**Target**
|
||||
|
||||
Create a canonical function descriptor system (JVM-like) and intern signatures.
|
||||
|
||||
**Scope**
|
||||
|
||||
* Add `Signature` model:
|
||||
|
||||
* params types + return type
|
||||
* Add `SignatureInterner` -> `SigId`
|
||||
* Add `descriptor()` canonical representation (stable, deterministic).
|
||||
|
||||
**Requirements Checklist**
|
||||
|
||||
* [ ] `SigId` is used as identity in compiler IR.
|
||||
* [ ] Descriptor is stable and round-trippable.
|
||||
|
||||
**Completion Tests**
|
||||
|
||||
* [ ] `debug(int)->void` and `debug(string)->void` produce different descriptors.
|
||||
* [ ] Descriptor stability tests.
|
||||
|
||||
---
|
||||
|
||||
### PR-08 (5 pts) — Replace `name/arity` import/export keys with `(name, SigId)`
|
||||
|
||||
**Briefing**
|
||||
|
||||
Reference in New Issue
Block a user