Foundation for the linking-mode work (jolt-5ed). Every var cell carries a :gen that bumps on bind-root / var-set(root) / alter-var-root — i.e. on redefinition. Behavior-neutral on its own; it's the substrate the upcoming work needs: direct-linked (sealed) call sites can detect staleness, and redefinition-aware dispatch caches can invalidate per-var (only a redefined var's callers miss, not a global flush). Full suite green, conformance 218/218 in all three modes. |
||
|---|---|---|
| .. | ||
| compiler-test.janet | ||
| eval-test.janet | ||
| evaluator-test.janet | ||
| interop-test.janet | ||
| lazy-seq-test.janet | ||
| macro-test.janet | ||
| persistent-map-test.janet | ||
| reader-test.janet | ||
| types-test.janet | ||