Files
rose-ash/lib/ocaml
giles 4c6790046c
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 51s
ocaml: phase 2 let..and.. mutual recursion (+3 tests, 251 total)
Parser collects multiple bindings via 'and', emitting (:def-rec-mut
BINDINGS) for let-rec chains and (:def-mut BINDINGS) for non-rec.
Single bindings keep the existing (:def …) / (:def-rec …) shapes.

Eval (def-rec-mut): allocate placeholder cell per binding, build joint
env where each name forwards through its cell, then evaluate each rhs
against the joint env and fill the cells. Even/odd mutual-rec works.
2026-05-08 08:53:53 +00:00
..