unship-spec-and-closures #81

Merged
pkulev merged 4 commits from unship-spec-and-closures into main 2026-11-13 00:25:53 +01:00
Owner
No description provided.
alex-eg added 4 commits 2026-11-11 07:34:22 +01:00
They were too much surface for a language this small: a nominal
contract layer, per-type default synthesis and a pub interface of their
own. Type introspection and macros are the intended replacement, so the
storage, the forms and the tests that pin them go; the ops method
registry they leaned on stays.

The implementation is kept at tag 0.0.1.
The compiler no longer has them.
A closure was a code pointer beside an inline environment: capture
records, per-signature structs, conversion thunks and call helpers. It
is gone; a lambda still lifts to an ordinary function and a (fn ...)
value is still a bare code pointer. The capture budget, the environment
union and the closure glyph go with it.

The implementation is kept at tag 0.0.1.
sex-mode: drop the closure keyword
All checks were successful
Sex CI / build-linux (pull_request) Successful in 5m28s
Sex CI / build-linux (push) Successful in 5m26s
5e842c4df6
The compiler no longer has it.
alex-eg requested review from pkulev 2026-11-11 07:34:22 +01:00
pkulev approved these changes 2026-11-13 00:25:31 +01:00
pkulev merged commit 5e842c4df6 into main 2026-11-13 00:25:53 +01:00
pkulev deleted branch unship-spec-and-closures 2026-11-13 00:25:53 +01:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: alex-eg/sex#81