Files
rose-ash/lib/ocaml/eval.sx
giles d45e653a87
Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 57s
ocaml: phase 4 open / include (+5 tests, 220 total)
Parser: open Path and include Path top-level decls; Path is Ctor (.Ctor)*.
Eval resolves via ocaml-resolve-module-path (same :con-as-module-lookup
escape hatch used by :field). open extends the env with the module's
bindings; include also merges into the surrounding module's exports
(when inside a struct...end).

Path resolver lets M.Sub.x work for nested modules. Phase 4 LOC ~165.
2026-05-08 08:39:13 +00:00

26 KiB