Not possible to interact during long running (or infinite) expression evaluations #2

Closed
opened 2026-10-19 09:02:54 +00:00 by purplebear · 1 comment
Owner

It would be beneficial if the program could be restarted if an infinite or long running expression is evaluated. Currently the repl does not respond to kill commands because it is busy eval'ing.

It would be beneficial if the program could be restarted if an infinite or long running expression is evaluated. Currently the repl does not respond to kill commands because it is busy eval'ing.
purplebear added reference main 2026-10-19 09:05:35 +00:00
Author
Owner

we rebound restart so ctrl+c retains its original functionality of interrupting the repl. now, when reloading or killing the repl, an interrupt command is injected first, to stop the current evaluation and then the exit command. handled in commit 28ee90aeea.

we rebound restart so ctrl+c retains its original functionality of interrupting the repl. now, when reloading or killing the repl, an interrupt command is injected first, to stop the current evaluation and then the exit command. handled in commit [28ee90aeea](https://git.purplebear.io/purplebear/smli-rs/commit/28ee90aeea66281d1023471e4cf8ca526a6c98e3).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
purplebear/smli-rs#2
No description provided.