Skip to content

Simplify toplevel handling example#6

Merged
mbarbin merged 4 commits intomainfrom
simplify-toplevel
Apr 2, 2026
Merged

Simplify toplevel handling example#6
mbarbin merged 4 commits intomainfrom
simplify-toplevel

Conversation

@mbarbin
Copy link
Copy Markdown
Owner

@mbarbin mbarbin commented Apr 2, 2026

No description provided.

mbarbin and others added 4 commits April 2, 2026 15:57
Replace shexp.process with OCaml's UnixLabels for running the custom
toplevel. Starting the process with an empty environment suppresses all
initialization messages, removing the need for message filtering. The
toplevel process is now kept alive across evaluations, allowing
sequential code blocks to share definitions. Stderr and exit status
are collected at the end of each run block.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mbarbin mbarbin merged commit ea44fbe into main Apr 2, 2026
7 checks passed
@mbarbin mbarbin deleted the simplify-toplevel branch April 2, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant