[comp.lang.pascal] Pretty-Printer wanted

limonce@pilot.njin.net (Tom Limoncelli) (08/10/88)

I am looking for a program that will take a pascal source and
re-format it correcting the indenting scheme, etc.  It seems
that where (not in my signature... some place else) I work we 
get a lot of unstructured code that makes for plenty of 2-hour 
"find the missing END" sessions.  Certainly a program as I
described would help.  (As would getting these people to write cleaner
code :-) If I could find one already written it would
save me the effort of writing one.

The code should preferably be for VAX VMS (the target machine) but
any will machine will do since I am willing to port it.  Of course,
this does mean that I need the source.

Thanks in advance,
Tom
-- 
Tom Limoncelli

Currently using crutches and in great pain, but still available at:
limonce@pilot.njin.net		"Remember all the great times we had?"
tlimonce@drew.bitnet		"Yeah... was that *you*?"
tlimonce%drew@cunyvm.cuny.edu
"The opinions expressed above are mine... just mine."
(Hey Eric!  Remember when I was so proud to finally be on a net and your 
reply was, "Bitnet?  Ok... tell me when you get on a real net"?  Well,
look at the new signature!  A real net!  Right on the internet!  See! See!
It's also reachable via limonce@njin.rutgers.edu.  Ok Eric?  )

drc@claris.UUCP (Dennis Cohen) (08/10/88)

Get a copy of Pascal With Style by Ledgard and Hueras, it has the source to
a pretty-printer in it that is quite portable.  It isn't very flexible and
is essentially the formatting code that exists in MacPascal, LightSpeed
Pascal, and Instant Pascal (all products of THINK/Symantec).

Dennis Cohen
Claris Corp.
------------
Disclaimer:  Any opinions expressed above are _MINE_!