Universal toplevel for OCaml
Browse cluster: OCaml Systems and Utilities →utop is an improved Read-Eval-Print Loop (REPL) for OCaml that runs in terminals or Emacs. Built on the OCaml compiler libraries and the Lambda-term and Zed terminal UI libraries, utop provides context-sensitive completion, syntax highlighting, automatic evaluation of Lwt and Async expressions, a `#typeof` directive for type inspection, and vi-style editing mode. The project is maintained by the OCaml community and can be installed via opam or built from source using make or Dune, with integration available for Emacs modes including Tuareg, caml, ReasonML, and typerex.