Data pretty printing made easy
https://opam.ocaml.org/packages/easy-format
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:".
- Devel package for openSUSE:Factory
-
1
derived packages
- Links to openSUSE:Factory / ocaml-easy-format
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout devel:languages:ocaml/ocaml-easy-format && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
easy-format-1.2.0.tar.xz | 0000014520 14.2 KB | |
ocaml-easy-format.changes | 0000000783 783 Bytes | |
ocaml-easy-format.spec | 0000004586 4.48 KB |
Revision 18 (latest revision is 43)
Olaf Hering (olh)
committed
(revision 18)
BSD-3-Clause
Comments 0