File: easy-format.opam

package info (click to toggle)
easy-format 1.3.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 200 kB
  • sloc: ml: 1,223; makefile: 15
file content (49 lines) | stat: -rw-r--r-- 1,482 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: "1.3.4"
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis:
  "High-level and functional interface to the Format module of the OCaml standard library"
description: """

This module offers a high-level and functional interface to the Format module of
the OCaml standard library. It is a pretty-printing facility, i.e. it takes as
input some code represented as a tree and formats this code into the most
visually satisfying result, breaking and indenting lines of code where
appropriate.

Input data must be first modelled and converted into a tree using 3 kinds of
nodes:

* atoms
* lists
* labelled nodes

Atoms represent any text that is guaranteed to be printed as-is. Lists can model
any sequence of items such as arrays of data or lists of definitions that are
labelled with something like "int main", "let x =" or "x:"."""
maintainer: ["martin@mjambon.com" "rudi.grinberg@gmail.com"]
authors: ["Martin Jambon"]
license: "BSD-3-Clause"
homepage: "https://github.com/ocaml-community/easy-format"
doc: "https://mjambon.github.io/easy-format/"
bug-reports: "https://github.com/ocaml-community/easy-format/issues"
depends: [
  "dune" {>= "3.2" & >= "1.10"}
  "ocaml" {>= "4.08"}
  "odoc" {with-doc}
]
build: [
  ["dune" "subst"] {dev}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "@install"
    "@runtest" {with-test}
    "@doc" {with-doc}
  ]
]
dev-repo: "git+https://github.com/ocaml-community/easy-format.git"