[net.lang.lisp] Request for formatting tools

preece@ccvaxa.UUCP (10/16/85)

Does anyone out there have good tools for producing attractive
listings of Lisp (especially Common Lisp) programs?

We are using vgrind with our Imagen, with a lisp entry added
to vgrindef that recognizes defun/defmacro for marginal titling
and recognizes all the Common Lisp keywords.  To make this work
we modified vfontedpr to accept a list of legal characters for
identifiers (otherwise it thinks such common identifier characters
as '-' are delimiters), to NOT do special font shifts on '*' and
on '/' if they're in the id-character table, and to handle much
larger tables of keywords.  The result is reasonable, BUT it
doesn't produce proper indentation -- proportionally spaced
fonts make that hard.  Has anyone got tools that CAN handle nice
Lisp indentation?  I would really prefer not to have to get quite
that well acquainted with troff...

-- 
scott preece
gould/csd - urbana
ihnp4!uiucdcs!ccvaxa!preece

colonel@sunybcs.UUCP (Col. G. L. Sicherman) (11/10/85)

I missed the original posting, but ...

We've got a crude shell script called "lb" (lisp beautifier, what else?)
that runs lisp code through the pretty-printer.  It collects comments
amid objects, and occasionally seems to add a superfluous blank line,
but is still handy.  Anybody who wants it can have it.
-- 
Col. G. L. Sicherman
UU: ...{rocksvax|decvax}!sunybcs!colonel
CS: colonel@buffalo-cs
BI: csdsicher@sunyabva