ptop is a source beauti er written by Peter Grogono based on the ancient pretty-printer by Ledgard, Hueras, and Singer, modernized by the Free Pascal team (objects, streams, con gurability etc)
This con gurability, and the thorough bottom-up design are the advantages of this program over the diverse TurboPascal sourcebeauti ers on e.g. SIMTEL.
The program is quite simple to operate:
ptop "[-v] [-i indent] [-b bufsize ][-c opts le] in le out le"
The In le parameter is the pascal le to be processed, and will be written to out le, overwriting an existing out le if it exists.
Some options modify the behaviour of ptop: