Tools

Editor Tools

For an OCaml beginner, the recommended editor of choice is Visual Studio code with the ReasonML plugin.

  • VSCode-Reason is the Reason/OCaml plugin for Visual Studio code. It allows for all the advantages provided by Merlin with the convenience of the VSCode IDE.
  • merlin is the main tool used to provide information to editors about OCaml codebases. Note that to provide information, the code must first be compiled. Dune is able to automatically create /.merlin/ files, which are needed to help merlin find the compiled files.
  • tuareg - OCaml mode for Emacs that can run the toplevel and the debugger within Emacs.
  • Sublime better ocaml – Better OCaml mode for Sublime Text.
  • ocp-index – Easy access to the interface information of installed OCaml libraries. a few standalone tools:
  • ocp-indent – Indentation tool for OCaml, to be used from editors like Emacs and Vim.

Developer Tools

  • utop – Universal toplevel for OCaml with support of multiline edition, history, real-time and context sensitive completion, colors, and more. This is a must-install for every OCaml programmer.
  • Try OCaml – Try OCaml in your web browser.
  • codingground – Compile and execute OCaml code online.
  • iocaml – An OCaml kernel for the IPython notebook.
  • ocamlbrowser – A source and compiled interface browser, written using LablTk. Included in the standard distribution for ocaml <= 4.01 and with labltk for ocaml >= 4.02.
  • ghim – A command-line tool to manage Github Issues.
  • OCaml Yeoman Generator – Yeoman generator to scaffold OCaml modules.

Code Coverage

  • Bisect
  • Bisect_ppx a more recent fork of the previous tool, using ppx processing.
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License