package ocp-indent
A simple tool to indent OCaml programs
Install
Dune Dependency
www.typerex.org
Readme
LGPL-2.1-only WITH OCaml-LGPL-linking-exception License
Edit opam file
Versions (28)
Authors
Maintainers
Sources
1.8.0.tar.gz
md5=d4d11e1aaedd7d3268ac7d5813de43ca
sha512=246a97f04b44371900a6f39eab34d9b674d6afa9026e78fce2ef171b5d28fcca0b49f353b2de9d09cb5529b896e47c253acc3074618060862e8a7debd9289afc
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.
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)
- base-bytes
- ocamlfind
-
cmdliner
>= "1.0.0"
-
dune
>= "1.0"
- ocaml
Dev Dependencies
None
Used by (14)
-
gopcaml-mode
>= "0.0.3"
- gopcaml-mode-merlin
-
jupyter
>= "2.7.6"
-
jupyter-archimedes
>= "2.7.3"
-
ocaml-top
>= "1.1.1" & < "1.2.0"
-
ocamleditor
>= "1.15.2-ocaml414"
-
ocamlformat
>= "0.13.0" & < "0.25.1"
- ocamlformat-lib
-
ocamlformat-rpc
< "0.21.0"
-
ocp-index
>= "1.0.1"
-
sihl
< "0.1.0"
-
spectrum
< "0.2.0"
- starterkit
-
yocaml
>= "2.0.0"
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page