A simple tool to indent OCaml programs
140.72 KB
built 2026-10-20 16:36:25 GMT
Description
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.
Dependencies
11 totalRequires9
- emacs-nw
- emacs-tuareg
- ocaml >= 4.11
- ocaml-cmdliner-devel >= 2.0.0
- ocaml-dune >= 3.20
- ocaml-findlib-devel
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- vim-enhanced
Provides2
- ocaml-ocp-indent = 1.10.0-2.rvmock0_nc.fc45
- ocaml-ocp-indent-devel = 1.10.0-2.rvmock0_nc.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
3Name ![]() |
Size |
|---|---|
| ocaml-ocp-indent-nonbreaking-space.patch | 910.00 B |
| ocaml-ocp-indent.spec | 10.64 KB |
| ocp-indent-1.10.0.tar.gz | 116.97 KB |
Files 1–3 of 3
Component of
buildroots that installed this RPMNo Buildroots
