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
Published
04 Aug 2017
Sources
1.6.1.tar.gz
md5=935d03f4f6376d687c46f350ff5eecdd
Dependencies
cmdliner
>= "1.0.0"
ocp-build
build & >= "1.99.6-beta"
Reverse Dependencies