clang-format vs OCamlFormat
clang-format
clang.llvm.orgOCamlFormat
github.comSide by side
| Figure | clang-format | OCamlFormat |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | Yes |
| Plans published | 0 | 1 |
| Spec score · Code formatters | 7.7 (#8) | 7.4 (#13) |
| Spec score · Code Formatting Tools | 7.6 (#20) | 7.4 (#26) |
| License | LLVM releases are distributed under the Apache-2.0 license with LLVM exceptions, which the download page describes as OSI-approved. | OCamlFormat is distributed under the MIT License. |
| Purpose | ClangFormat is a set of tools built on LibFormat for formatting source code, available as a standalone tool and through editor integrations. | OCamlFormat is a code formatter for OCaml. |
| Support and community | LLVM directs users to its Discourse forum and mailing lists, and announces new releases in its Announce category. | The README links to contribution and hacking guides and an OCaml Discuss forum section for project discussions. |
Plans
In their own words
clang-format
clang-format has no write-up on Specifiction yet; its figures are above.
OCamlFormat
OCamlFormat has no write-up on Specifiction yet; its figures are above.