tobogganSe connecter

louise

Clone avec HTTPS, un jeton personnel en mot de passe, ou avec SSH, une clé ajoutée dans vos paramètres.

M6 (part 1): actors on the interpreter — process, actor, supervisor

- std/process: `proc` effect (spawn, self, subject, send, receive with
  timeout, link, monitor, kill, trap_exits, exits, sleep), Pid,
  Subject<msg>, ExitReason, Down, ExitSignal, spawn_link,
  receive_forever.
- Interpreter scheduler (tilc_core::sched): every actor (main included)
  on a fiber; proc requests answered at the actor root; deterministic
  round-robin with reduction preemption; virtual clock for timeouts and
  sleep; Erlang exit semantics (links, trap_exits incl. normal exits,
  monitors, noproc); program ends with main.
- std/actor (gen_server-style start/call/cast with Next) and
  std/supervisor (one_for_one, one_for_all, restart limit) in tilcayo.
- Types: only `e`-style names are implicit row variables; other unknown
  names in effect rows are reported (a forgotten effect import must not
  become a row variable). ADR 0008 updated.
- tests/run: process (subjects, monitors, timeouts, preemption, links,
  kill), actors (counter with call/cast/stop), supervisor (restart limit,
  normal completion, one_for_all). ADR 0004 implementation note.

Part of #8 (native runtime parts after M5).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

olivier · il y a 1 mois · 5cb645b308550467878d618a9360c57ef47c244d

Parents e3bacbb

14 fichiers modifiés, 883 ajouts, 17 suppressions