This is similar to the
Iterators for ropes.
TBD: Regular expressions for ropes.
Ropes ("heavyweight strings") are a scalable string implementation: they are designed for efficient operation that involve the string as a whole.
Toploop printer and its configuration.