ocp-indent

AuthorLouis Gesbert <louis.gesbert@ocamlpro.com>
LicenseLGPL
Homepagehttp://www.typerex.org/ocp-indent.html
Issue Trackerhttps://github.com/OCamlPro/ocp-indent/issues
Tagsorg:ocamlpro and org:typerex
Maintainercontact@ocamlpro.com
Dependencies
&cmdliner<= 0.9.7
ocp-build>= 1.99.6-beta
Availableocaml-version < "4.06.0"
PublishedFeb 28, 2015
Source [http] https://github.com/OCamlPro/ocp-indent/archive/1.5.tar.gz
4fffaf408044ef3a7add15c40ad0aa37
StatisticsNot installed in the last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocp-indent/ocp-indent.1.5/opam

A simple tool to indent OCaml programs

Ocp-indent is based on an approximate, tolerant OCaml parser and a simple stack machine ; this is much faster and more reliable than using regexps. Presets and configuration options available, with the possibility to set them project-wide. Supports most common syntax extensions, and extensible for others.

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 approximate parsing.
Necessary for
ocaml-top
>= 1.1.1
ocp-index
>= 1.0.1
starterkit
Optional for
user-setup