ocp-indentversion Documentation on ocaml.org
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 | 
|---|---|
| Authors | Louis Gesbert <louis.gesbert@ocamlpro.com>, Thomas Gazagnaire <thomas@gazagnaire.org> and Jun Furuse | 
| License | LGPL-2.1-only WITH OCaml-LGPL-linking-exception | 
| Published | |
| Homepage | http://www.typerex.org/ocp-indent.html | 
| Issue Tracker | https://github.com/OCamlPro/ocp-indent/issues | 
| Maintainer | contact@ocamlpro.com | 
| Dependencies | |
| Source [http] | https://github.com/OCamlPro/ocp-indent/releases/download/1.9.0/ocp-indent-1.9.0.tbz sha256=da4ff552f9fc230d7c07f64a8ef89295907bf8d3c581132f05dcf0dd87a172b3 sha512=d734487162ab1373110a4c4d4f83128b21c39ec2d6e6cd1f9708178b190553cf60faebf62483113ceed490d1b9948c6241e798ea81ee266f3ed7fd8113552684  | 
| Edit | https://github.com/ocaml/opam-repository/tree/master/packages/ocp-indent/ocp-indent.1.9.0/opam | 
Required by
- frama-cwith-dev-setup & >=30.0~beta
 - gopcaml-mode>=0.0.3
 - gopcaml-mode-merlin
 - jupyterwith-test & >=2.7.6
 - jupyter-archimedeswith-test & >=2.7.3
 - ocaml-top
 - ocamleditor>=1.15.2-ocaml414
 - ocamlformat>=0.13.0 & <0.25.1
 - ocamlformat-lib
 - ocamlformat-mlx-lib
 - ocamlformat-rpc<0.21.0
 - ocamlmig
 - ocp-index
 - primaverawith-dev-setup
 - sihldev & <0.1.0
 - spectrumdev & <0.2.0
 - starterkit
 - yocamlwith-dev-setup & >=2.0.0
 
Optionally used by
- ocamleditor<1.15.2-ocaml414
 - user-setup
 
          

