ocp-indentversion

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.
Tags org:ocamlpro org:typerex
AuthorsLouis Gesbert <louis.gesbert@ocamlpro.com>, Thomas Gazagnaire <thomas@gazagnaire.org> and Jun Furuse
LicenseLGPL-2.0-or-later
Published
Homepagehttp://www.typerex.org/ocp-indent.html
Issue Trackerhttps://github.com/OCamlPro/ocp-indent/issues
Maintainercontact@ocamlpro.com
Dependencies
Source [http] https://github.com/OCamlPro/ocp-indent/archive/1.5.2.tar.gz
sha256=e351dfe37cb7a17bc0326fccbfb443b4a422df1818803eefc7259090cee83f01
md5=2f387a92f6d03bc8fe1859434af3f804
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocp-indent/ocp-indent.1.5.2/opam
Required by
Optionally used by