this repo has no description
1opam-version: "2.0"
2synopsis:
3 "High-level and functional interface to the Format module of the OCaml standard library"
4description: """
5
6This module offers a high-level and functional interface to the Format module of
7the OCaml standard library. It is a pretty-printing facility, i.e. it takes as
8input some code represented as a tree and formats this code into the most
9visually satisfying result, breaking and indenting lines of code where
10appropriate.
11
12Input data must be first modelled and converted into a tree using 3 kinds of
13nodes:
14
15* atoms
16* lists
17* labelled nodes
18
19Atoms represent any text that is guaranteed to be printed as-is. Lists can model
20any sequence of items such as arrays of data or lists of definitions that are
21labelled with something like "int main", "let x =" or "x:"."""
22maintainer: ["martin@mjambon.com" "rudi.grinberg@gmail.com"]
23authors: ["Martin Jambon"]
24license: "BSD-3-Clause"
25homepage: "https://github.com/mjambon/easy-format"
26doc: "https://mjambon.github.io/easy-format/"
27bug-reports: "https://github.com/mjambon/easy-format/issues"
28depends: [
29 "dune" {>= "2.9"}
30 "ocaml" {>= "4.08"}
31 "odoc" {with-doc}
32]
33build: [
34 ["dune" "subst"] {dev}
35 [
36 "dune"
37 "build"
38 "-p"
39 name
40 "-j"
41 jobs
42 "--promote-install-files=false"
43 "@install"
44 "@runtest" {with-test}
45 "@doc" {with-doc}
46 ]
47 ["dune" "install" "-p" name "--create-install-files" name]
48]
49dev-repo: "git+https://github.com/mjambon/easy-format.git"
50url {
51 src:
52 "https://github.com/mjambon/easy-format/releases/download/1.3.3/easy-format-1.3.3.tbz"
53 checksum: [
54 "sha256=eafccae911c26ca23e4ddacee3eaa54654d20f973b8680f84b708cef43adc416"
55 "sha512=611b3124f6a0ec6406b7bda8018a94c9c4a9da9d22495a5c34a6312bf7f0f0607a9529b276f7039ce3f3b15a955dac413d6d1229a55d5ac291302a3ddd5807e5"
56 ]
57}
58x-commit-hash: "56c57e69ef067d1cc4e31029d31e77e55b46be95"