Side by side
LuaFormatter vs OCamlFormat
Both stand on code formatters. Which one you can start free with, which one lets you read the code, and what each costs once you pay.
Free plan
Visit LuaFormatter Free plan Linux
OCamlFormat combines project-level formatting settings with integrations for Dune and other tools. Check its OCaml and Dune requirements before adding it to a project.
Visit OCamlFormatThe facts
| LuaFormatter | OCamlFormat | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Not published | Not published |
| Runs on | Not published | Linux |
| Lowest paid plan | Not published | Free or on request |
| Plans published | None | 1 |
| Maker | Koihik | Not published |
| Website | github.com | github.com |
| On code formatters | #18 of 22 | #14 of 22 |
LuaFormatter: what it does well
OCamlFormat: what it does well
- Three predefined formatting profiles.
- Project options can be stored in `.ocamlformat`.
- Formats comments, docstrings, and code blocks in comments.
- Provides an RPC server and library API.
- MIT-licensed and free.
What to know first
- Requires OCaml and opam for installation.
- Package dependencies include Dune 2.8 or later.
- Supports OCaml only.
Alternatives to LuaFormatter Alternatives to OCamlFormat The whole list