savage
savage copied to clipboard
Ability to cancel evaluations in REPL
The welcome message promises that this will happen when you press Ctrl+C
, but that isn't actually implemented yet.
The plan is to spin off a subprocess that does the evaluation, and kill that process when the user cancels. Turning evaluate
into an async fn
isn't possible, because functionality like integer multiplication is provided by the num
crate as synchronous functions.