Merry#
A library for building shells in OCaml.
https://tangled.org/patrick.sirref.org/merry
git@knot.cl.cam.ac.uk:patrick.sirref.org/merry
For self-hosted knots, clone URLs may differ based on your setup.
We create the infrastructure necessary to support shell built-ins. The
built-ins `cd` and `pwd` are added and lightly tested.
We disable all the necessary flags (and restore them) for entering
raw mode!
Shells are always more fun when there is an interactive mode to play
around with. Here we vendor Shelter's ANSI-ready copy of ocaml-linenoise
and add a simple interactive loop to osh!
Commands separated by newlines or semicolons will now be executed
sequentially. The logic for commands that exit with non-zero exit codes
will still need some close work.
A library for building shells in OCaml.