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
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