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

4 Commits

Author SHA1 Message Date
5e842c4df6 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
The compiler no longer has it.
2026-11-11 09:17:58 +03:00
be2f4e407b remove closures, keep lambdas
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.
2026-11-11 09:17:54 +03:00
ad37a2492e sex-mode: drop spec and realize keywords
The compiler no longer has them.
2026-11-11 08:54:31 +03:00
2c78756e61 remove spec and realize
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.
2026-11-11 08:54:29 +03:00