A simple tool to indent OCaml programs
Ocp-indent is a simple tool and library to indent OCaml code. It 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 are available, with the possibility to set them project-wide. Ocp-indent supports most common syntax extensions, and is 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.
Release | Stable | Testing |
---|---|---|
Fedora Rawhide | 1.8.2-30.fc41 | - |
Fedora 41 | 1.8.2-30.fc41 | - |
Fedora 40 | 1.8.2-26.fc40 | - |
Fedora 39 | 1.8.2-20.fc39 | - |
You can contact the maintainers of this package via email at
ocaml-ocp-indent dash maintainers at fedoraproject dot org
.