prettyprint 1.0.4

Pretty-print structured strings heuristically based on parentheses


To use this package, run the following command in your project's root directory:


This package provides sub packages which can be used individually:

prettyprint:pp - Pretty-print runner that reads stdin and outputs prettyprinted lines

prettyprint

prettyprint takes a string representing a tree of parentheses and linebreaks and indents it.

Usage

Command line tool

dub run prettyprint:pp < logfile

Library

import prettyprint : prettyprint;

string formattedOutput = object.toString().prettyprint;

API

public string prettyprint(const string text, size_t columnWidth = 80);
Authors:
  • Mathis Beer
Sub packages:
prettyprint:pp
Dependencies:
none
Versions:
1.0.4 2020-Apr-30
1.0.3 2020-Feb-14
1.0.2 2020-Feb-14
1.0.1 2020-Feb-14
1.0.0 2020-Feb-13
Show all 6 versions
Download Stats:
  • 4 downloads today

  • 10 downloads this week

  • 29 downloads this month

  • 58 downloads total

Score:
0.9
Short URL:
prettyprint.dub.pm