Clone wiki

ocaml-indent / Home


OCaml source code indenter

  • Lexer based. Simple, easy to maintain, robust against P4 extensions
  • Currently it just simply indent OCaml source code. ./indent
  • CLI interface. Editors should communicate with it. Not yet done at all.
  • Just fixes indentations. No other code beautifier included.

The indentation tries to follow my style as possible. Neither the official one (does it exists?) or something already available (i.e. ocaml-mode/tuareg).

Lots more of testing required.