package ocp-indent

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

Install

Dune Dependency

Authors

Maintainers

Sources

1.8.1.tar.gz
md5=70db6649a8c08a682ad63730c9752e31
sha512=565353de333dd44375366fff75e85a6256c3cd9ff52b3db79803141f975e77cda04dfe32f5e0f2d4c82c59be8f04e9c2bf4d066b113b2cdf267f4c3dcfa401da

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: 24 Oct 2019

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.

Dependencies (5)

  1. base-bytes
  2. ocamlfind
  3. cmdliner >= "1.0.0"
  4. dune >= "1.0"
  5. ocaml

Dev Dependencies

None

Used by (15)

  1. frama-c >= "30.0~beta"
  2. gopcaml-mode >= "0.0.3"
  3. gopcaml-mode-merlin
  4. jupyter >= "2.7.6"
  5. jupyter-archimedes >= "2.7.3"
  6. ocaml-top >= "1.1.1"
  7. ocamleditor >= "1.15.2-ocaml414"
  8. ocamlformat >= "0.13.0" & < "0.25.1"
  9. ocamlformat-lib
  10. ocamlformat-rpc < "0.21.0"
  11. ocp-index >= "1.0.1"
  12. sihl < "0.1.0"
  13. spectrum < "0.2.0"
  14. starterkit
  15. yocaml >= "2.0.0"

Conflicts

None

OCaml

Innovation. Community. Security.