writeonce/compiler/src
shoney.arickathil 9a9e4927f6 feat: call/reply — send that waits (id 88, envelope kinds 5/6, WO-E226)
- runtime: mailbox slots grow caller metadata (wo_msg), call parks on
  WO_PARK_INBOX (the DB-RPC protocol) and the resume consumes a SCALAR
  reply; FIBER_DONE ships the receive's return value home (same-shard
  unpark or kind-6 envelope); kind-5 carries cross-shard calls
- actor death is real now: a receive trapping uncaught marks the actor
  dead, error-unparks the in-flight caller AND every queued caller,
  drops queued payloads + state, releases cap slots; send-to-dead
  drops silently, call-to-dead traps — a call never hangs. Fixes the
  pre-existing leak/dangle in TRAPF's fiber-death path (cur_msg leaked,
  a->active dangled, the mailbox rotted)
- compiler: reply typing through actor-M erasure — every receive(M)
  program-wide must agree on one return type and it must be a copyable
  scalar (v1); WO-E226 names disagreeing classes / void receives /
  non-scalar replies; call's message moves exactly like send's (owner)
- corpus: run/call-echo (park + ordered replies), run/call-dead-trap
  (mid-call + to-dead, both catchable), compile-fail/call-void-receive,
  compile-fail/call-reply-disagree; cross-shard call proof rides the
  chat gate next
- battery 12/12 fresh-built (ASan+TSan lanes in fibers/db-actor green)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-23 06:22:24 +02:00
..
ast.ml feat: iteration 36 tasks 2-3 — grammar, checker, emit lowering 2026-08-22 21:29:47 +02:00
CODE-LOGIC.md feat: iteration 36 task 5 — operators sample, docs closeout 2026-08-22 21:42:08 +02:00
diag.ml feat: milestone 1 complete — .wob emitter, conformance corpus, single binary; GC redesign specced 2026-08-11 19:31:26 +02:00
disasm.ml feat: iteration 36 task 4 — runtime bitwise opcodes, .wob v6 2026-08-22 21:38:22 +02:00
dump.ml feat: iteration 36 tasks 2-3 — grammar, checker, emit lowering 2026-08-22 21:29:47 +02:00
dune refactor(compiler): inference is one library pass, Gcinfer.infer 2026-08-18 19:00:11 +02:00
emit.ml feat: call/reply — send that waits (id 88, envelope kinds 5/6, WO-E226) 2026-08-23 06:22:24 +02:00
gcinfer.ml feat: spawn / send / actor M — the unified actor surface (arc T3) 2026-08-20 07:21:24 +02:00
lexer.ml feat: iteration 36 task 1 — lexer/tokens for operator parity 2026-08-22 21:22:10 +02:00
owner.ml feat: call/reply — send that waits (id 88, envelope kinds 5/6, WO-E226) 2026-08-23 06:22:24 +02:00
parser.ml feat: iteration 36 tasks 2-3 — grammar, checker, emit lowering 2026-08-22 21:29:47 +02:00
token.ml feat: iteration 36 task 1 — lexer/tokens for operator parity 2026-08-22 21:22:10 +02:00
types.ml feat: call/reply — send that waits (id 88, envelope kinds 5/6, WO-E226) 2026-08-23 06:22:24 +02:00