This Pascal pretty printer was written as an exercise to learn the VAX Scan
string processing language.  It works for the most part, although it has a
few quirks here and there.  It has difficulty with comments at the end of
a line and may drop them arbitrarily. Full line comments seem to pass through
OK, although it adds an extra blank line after each one.  Indentation is set
at 3 spaces for each level; however, this number is a variable so it can be
changed with modification of one instruction.  

I am still learning Scan, so there is no doubt that this program can be
improved by someone more experienced in the language.  I tried to test it
using a variety of Pascal programs, written by different people in different
styles.  In fact, it can even reformat programs generated by the TANGLE 
processor of Donald Knuth's WEB system (the system TeX and Metafont are 
written in), which are deliberately made absolutely unreadable.  Anyone who 
has seen the output of TANGLE can testify that it is a very good test of a
pretty printer.


AAAREADME.TXT		This file
REFORMPAS.COM		Command procedure to run pretty printer and compile 
				output
REFORMPAS.EXE		Executable for pretty printer
REFORMPAS.SCN		Source for pretty printer
