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.
Build Time
2024-02-29 18:02:36 GMT
Size
130.27 KB
a455cecee859f8dacd086aa77c5297f4
License
LGPL-2.1-only WITH OCaml-LGPL-linking-exception AND QPL-1.0