Indentation tool for OCaml, to be used from editors like Emacs and Vim.
OCaml HTML Shell Standard ML M4 Makefile
Latest commit c0d5d45 Mar 3, 2016 @OCamlPro-Henry OCamlPro-Henry Allow to aggregate tokens.
This exports an alternative 'Nstream' where the tokens STRING_OPEN,
STRING_CONTENT, ... are aggregated in a single token STRING. The same

This is for compatibility with program relying on the old lexer.

ocp-indent is a simple tool and library to indent OCaml code.

ocp-indent is part of TypeRex, developed and maintained by OCamlPro. Documentation to install and use this tool is available on

It is released under LGPL v3 with linking exception.