8 Utilities
Different pieces of code, not specifically attributed to any other package,
but useful for more than one other package.
8.1 Pretty-Printer
Responsible: Karsten Stahl,
Martin Steffen
A simple pretty-printer with tabulated ascii-output, primarily intended
for diagnosis. It should be used for testing and debugging the other parts
already during development.
Interface
The pretty-printer can used (and is supposed to be used) by everyone for
debugging. The only interface that counts is the abstract syntax, which
must be printable. The interface is partially implemented, for the usage,
see utils.PpExample. Besides the print-for whole
programs, the same methods is provided publicly also for other syntactic
constructs to make them printable for diagnosis.
last generated July 10, 2002 (©Public License)