package treeprint

  1. Overview
  2. Docs
Small tree structure printer with operator associations and precedences

Install

Dune Dependency

Authors

Maintainers

Sources

treeprint-2.2.0.tar.bz2
sha256=8651bd97eb75bba4afc783f10ab70e438ce9e3082710798c6d429b4353cde94a
md5=84e441c3b071324c34cffb34557fcfcf

Description

Treeprint is a small printer combinator library for ASTs with infix, prefix and postfix operators with associativity and precedence. It provides abstract printing with minimum parentheses insertion.

Published: 25 Jan 2018

README

treeprint

Treeprint is a small pretty printing combinator library based on Format, with automatic parenthese ('(' and ')') insertion: building printing objects with their associativity (left/right/nonassoc) and connectivity precedences, objects are pretty-printed with parenthese when necessary.

Dependencies (5)

  1. ocaml-migrate-parsetree < "2.0.0"
  2. ppx_meta_conv >= "4.0.0"
  3. spotlib >= "3.0.0"
  4. jbuilder >= "1.0+beta7"
  5. ocaml >= "4.02.1"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.