ocaml-ocp-indent 1.8.2 Tool to indent OCaml programs
Ocp-indent is based on an approximate, tolerant OCaml parser and a simple stack machine. Presets and configuration options are available, with the possibility to set them project-wide. It supports the most common syntax extensions, and it is extensible for others.
This package includes:
An indentor program, callable from the command-line or from within editors,
Bindings for popular editors,
A library that can be directly used by editor writers, or just for fault-tolerant and approximate parsing.