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 fault-tolerant/approximate parsing.
Tags org:ocamlpro org:typerex
AuthorsLouis Gesbert <louis.gesbert@ocamlpro.com>, Thomas Gazagnaire <thomas@gazagnaire.org> and Jun Furuse
LicenseLGPL-2.1-only WITH OCaml-LGPL-linking-exception
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.8.0.tar.gz
md5=d4d11e1aaedd7d3268ac7d5813de43ca
sha512=246a97f04b44371900a6f39eab34d9b674d6afa9026e78fce2ef171b5d28fcca0b49f353b2de9d09cb5529b896e47c253acc3074618060862e8a7debd9289afc
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/ocp-indent/ocp-indent.1.8.0/opam
Required by
Optionally used by