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
for COMMENT, P4_QUOTATION, ...

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

README.md

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 http://www.typerex.org/ocp-indent.html

It is released under LGPL v3 with linking exception.