Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Break a long string into multiple lines in a configurable way.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.txt
linebreaker.asd
linebreaker.lisp

README.txt

The line breaking program allows the decomposition of a sequence of
objects into a sequence of lines. A typical use would be breaking
a string of text into a set of lines that fit into a particular width.

Line breaking is controlled by an strategy object. It determines the
width of objects, whether objects are blank (e.g. a space), whether
objects trigger new lines (e.g. a newline), whether they are
candidates for line-breaking backtracking (e.g. a dash), etc.

Input and output management are handled by a streamlike object that
supports marking positions in both the input and output streams and
reverting to the marks when needed.

Something went wrong with that request. Please try again.