package ocp-indent
A simple tool to indent OCaml programs
Install
Dune Dependency
Authors
Maintainers
Sources
1.6.1.tar.gz
sha256=f314fa1d6f1ece652a291b552f1f49ec6439c9c3f5e7819e16de5c08d4588fe2
md5=935d03f4f6376d687c46f350ff5eecdd
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.
Dependencies (4)
- base-bytes
-
cmdliner
>= "1.0.0"
-
ocp-build
build & >= "1.99.6-beta"
- ocaml
Dev Dependencies
None
Used by (10)
-
gopcaml-mode
>= "0.0.3"
- gopcaml-mode-merlin
-
ocaml-top
>= "1.1.1" & < "1.2.0"
-
ocamlformat
>= "0.13.0" & < "0.25.1"
-
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