ocp-indent
A simple tool to indent OCaml programs
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.
Install
copied = false, 2000)"
:class="{ 'border-gray-700': !copied, 'text-gray-100': !copied, 'focus:ring-orange-500': !copied, 'focus:border-orange-500': !copied, 'border-green-600': copied, 'text-green-600': copied, 'focus:ring-green-500': copied, 'focus:border-green-500': copied }">
- Published
- 04 Aug 2017
- Authors
- Maintainers
Sources
Dependencies
Reverse Dependencies
gopcaml-mode
>= "0.0.3"
ocaml-top
>= "1.1.1"
ocamlformat
>= "0.13.0"
ocamlformat-rpc
< "0.21.0"
ocp-index
>= "1.0.1"
sihl
< "0.1.0"
spectrum
< "0.2.0"