[go: up one dir, main page]

package ocp-indent

  1. Overview
  2. No Docs
A simple tool to indent OCaml programs

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocp-indent-1.9.0.tbz
sha256=da4ff552f9fc230d7c07f64a8ef89295907bf8d3c581132f05dcf0dd87a172b3
sha512=d734487162ab1373110a4c4d4f83128b21c39ec2d6e6cd1f9708178b190553cf60faebf62483113ceed490d1b9948c6241e798ea81ee266f3ed7fd8113552684

Description

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

Published: 02 Oct 2025

Dependencies (4)

  1. ocamlfind
  2. cmdliner >= "1.3.0"
  3. dune >= "3.20"
  4. ocaml >= "4.08"

Dev Dependencies

None

Conflicts

None