Skip to content

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

License

Notifications You must be signed in to change notification settings

funkwerk-mobility/prettyprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages