Comment by cess11

1 day ago

Unless someone has already provided a library for it, write some wrappers around pipes and forks and use OCaml utop.

It's not a Lisp but close enough, I'd say. If I didn't have the rather extensive background of using Picolisp and some other REPL-like tools as a form of shell I'd probably have settled for utop, at least until I reached my iex era.