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.
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Wed Jul 08 2026 Jerry James <loganjerry@gmail.com> - 1.9.0-5
- OCaml 5.5.0 rebuild
- Use the dune declarative buildsystem
- Fix a test that fails on filesystems with security contexts
* Sat Feb 21 2026 Richard W.M. Jones <rjones@redhat.com> - 1.9.0-4
- OCaml 5.4.1 rebuild
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Tue Oct 14 2025 Richard W.M. Jones <rjones@redhat.com> - 1.9.0-2
- OCaml 5.4.0 rebuild
* Mon Oct 13 2025 Richard W.M. Jones <rjones@redhat.com> - 1.9.0-1
- New upstream version 1.9.0 (RHBZ#2400841)
- Remove emacs fix which is now upstream.
- Rebase nonbreaking space patch for code movements in 1.9.0
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jul 11 2025 Jerry James <loganjerry@gmail.com> - 1.8.2-33
- Rebuild to fix OCaml dependencies
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jan 09 2025 Jerry James <loganjerry@gmail.com> - 1.8.2-31
- OCaml 5.3.0 rebuild for Fedora 42
* Fri Aug 09 2024 Jerry James <loganjerry@gmail.com> - 1.8.2-30
- Generate loaddefs instead of deprecated autoloads
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild