prettiest
Non-greedy pretty printer
README
Implementation of Jean-Philippe Bernardy's A Pretty But Not Greedy Printer (Functional Pearl). PACMPL 1(ICFP): 6:1-6:21 (2017) in OCaml.
The author of the paper has a version in Haskell.
I make no promises about performance.
Installation
This package is on OPAM:
opam install prettiest
Examples
A version of the sexpr example is included in the test folder.
That folder also includes a larger example of pretty printing types.
Install
- Published
-
24 Jan 2018
- Authors
-
- Maintainers
-
Sources
Dependencies
jbuilder
>= "1.0+beta12"
ocaml-migrate-parsetree
< "2.0.0"
ppx_compare
>= "v0.10"
base
>= "v0.10" & < "v0.11"
ocaml
>= "4.04.1"
Reverse Dependencies