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.

Tests: a small-stack mode, so deep recursion is checked in constant stack (issue #149)

`//@ small-stack` runs a tests/run program with a small stack:
- natively, `LOUISE_STACK_KIB` (here 256) sets every compiled actor's
  stack, the root's included (1 GiB and 64 MiB otherwise);
- in the interpreter, whose stacks are on the heap, a frame limit
  (`run_limited`, or `LOUISE_INTERP_MAX_FRAMES`) makes a deeper call
  panic with "stack overflow".
`ulimit -s` can't do this: programs run on their own fiber stacks.

tests/run/tail_calls.lse checks a million self, mutual and nested tail
calls with it.

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

olivier · il y a 1 mois · b17f7336ed05c49e154b36d84571facb7c5fda47

Parents 5ca4e95

8 fichiers modifiés, 141 ajouts, 17 suppressions