package ocp-indent

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.6.0.tar.gz
sha256=8d7bc6be387575bbef29a6cee324ae95e5ad3bd899e220decb2ee4356a0334a8
md5=ae106c38bc4d182cab39eca5133fbadb

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 approximate parsing.

Tags

org:ocamlpro org:typerex

Published: 08 Mar 2017

Dependencies (3)

  1. cmdliner >= "1.0.0"
  2. ocp-build build & >= "1.99.6-beta"
  3. ocaml < "4.06.0"

Dev Dependencies

None

Used by (10)

  1. gopcaml-mode >= "0.0.3"
  2. gopcaml-mode-merlin
  3. ocaml-top >= "1.1.1" & < "1.2.0"
  4. ocamlformat >= "0.13.0" & < "0.25.1"
  5. ocamlformat-rpc < "0.21.0"
  6. ocp-index >= "1.0.1"
  7. sihl < "0.1.0"
  8. spectrum < "0.2.0"
  9. starterkit
  10. yocaml >= "2.0.0"

Conflicts

None

OCaml

Innovation. Community. Security.