Gopprint

Implementation of Kiselyov et al's pretty printing algorithm in Go.
Alternatives To Gopprint
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Algorithms Sedgewick Wayne1,967
2 months ago3mitJava
Solutions to all the exercises of the Algorithms book by Robert Sedgewick and Kevin Wayne
Mir Algorithm168102919 days ago610February 07, 202327otherD
Dlang Core Library
Floaxie28
6 months agoapache-2.0C++
Floating point printing and parsing library based on Grisu2 and Krosh algorithms
Strip Packing14
4 years ago1mitPython
Algorithm for the strip packing problem with guillotine cuts constraint
Prettyprint8
2 months ago2bsd-2-clauseRuby
This class implements a pretty printing algorithm.
Gopprint5
5 years agomitGo
Implementation of Kiselyov et al's pretty printing algorithm in Go.
Algorithms4
a year ago3mitC++
A collection of templates/algorithms for competitive coding.
Packager3
7 years agoJavaScript
Binary tree bin packing algorithm for packing pictures to sheet for printing
Diff Java2
7 years agogpl-3.0Java
Clone and improvements
Soren Cslab Scripts2
7 years agomitShell
Scripts for fixing firefox locks, printing, timing algorithms, and checking your quota.
Alternatives To Gopprint
Select To Compare


Alternative Project Comparisons
Readme

gopprint

An implementation of Kiselyov et al's pretty printing algorithm in Go.

Pretty printing occurs in two global phases. Rather than try to print some random tree directly, which could get quite ugly quite quickly, we build a "pretty printer document" out of some very simple primitives. These primitives (and our algorithm) are due to D.C. Oppen originally and later Kiselyov et al. Oppen's original formulation had Text, LineBreak, Concat, and Group. I generalized LineBreak to cond_t which became our cond_t because we need to do more sophisticated breaks, and I added nest_t for controllable indentation.

Popular Algorithms Projects
Popular Printing Projects
Popular Computer Science Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Go
Algorithms
Printing