tobogganSe connecter

louise

The Louise language: compiler, runtime, std, tooling

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

Interpreter: unwind suspended fibers instead of dropping them (issue #49)

The interpreter now unwinds the way the native backend does:
- a body left by `final ctl` is resumed with `Cancelled` and unwinds
  before the clause runs;
- a `ctl` body whose handler finished is cancelled then, so a later
  `resume` panics with the native message (escaped continuations);
- an error answering a forwarded request, or returned by a `fn` clause,
  is delivered into the body first, so inner frames unwind first;
- a killed actor exits at once and its fiber unwinds at its next turn,
  resumed with `Killed` at each safe point; a failed `proc` operation
  panics in the actor.

This is what `defer` cleanups (ADR 0016) need to run on both backends.

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

olivier · il y a 1 mois · e2f55aa61cf582aa2e21a3754cf402b9b885e73f

Parents 50674c6

3 fichiers modifiés, 225 ajouts, 81 suppressions