package ocp-indent

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.7.0.tar.gz
md5=3bc327e38f453f38494098725c97d2cb
sha512=5b28ae8695612c95cb0f5748de9b9f01d8ef4ad18b31340dc526ccae5fb1b6ee7e12024ff1beb817a43796183a83bca144222ca2d77d7750f2ff56108b5fa350

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: 19 Nov 2018

README

README.md

ocp-indent is a simple tool and library to indent OCaml code.

ocp-indent is part of TypeRex, developed and maintained by OCamlPro. Documentation to install and use this tool is available on http://www.typerex.org/ocp-indent.html

It is released under LGPL v2.1 with linking exception.

Dev Dependencies

None

Used by (11)

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

Conflicts

None

OCaml

Innovation. Community. Security.