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.

Row evidence: who passes what, and Core (ADR 0066, stages 2 and 3)

Type checking records, once a body's types are complete, what row
evidence needs (CapSites): whether the function takes an evidence
parameter for its own row's tail, what each bundled lambda looks up in
the one evidence argument it receives instead of its capabilities, and
how each call builds its callee's evidence: the entries of the handlers
it resolves, then the evidence of the row it shares with the caller,
without the caller's own entries. A bundled function passed its
capabilities one by one (partially applied, named as a value, returned
and applied in the same call, called within a group inferred together)
is reported as not supported yet: a lambda that calls it is.

Evidence is a list of Ev(key, capability, rest) in row order, a key
being an effect and a Bound index, entries with the same key told apart
by rank. Core builds it with constructors and reads it with ev$lookup
and ev$remove, Core functions made once per program, so the interpreter,
the C backend and Perceus need nothing new. tests/run/row_arguments.lse
runs inline, a handler re-installing a handler, nested later and a
callback in a part, interpreted and natively without leaks.

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

olivier · il y a 3 sem. · 4f3aafb9351e018389c0778313639713b842b5f1

Parents 59b5640

8 fichiers modifiés, 895 ajouts, 96 suppressions