|[2 earlier articles]|
|Re: Tools to "prettify" source code email@example.com (Pekka Enberg) (2001-03-31)|
|Re: Tools to "prettify" source code firstname.lastname@example.org (Eliot Miranda) (2001-04-04)|
|Re: Tools to "prettify" source code email@example.com (Burkhard Perkens-Golomb) (2001-04-04)|
|Re: Tools to "prettify" source code firstname.lastname@example.org (Eric Brown) (2001-04-04)|
|Re: Tools to "prettify" source code email@example.com (2001-04-10)|
|Re: Tools to "prettify" source code firstname.lastname@example.org (Ira D. Baxter) (2001-04-10)|
|Re: Tools to "prettify" source code email@example.com (Hans-Bernhard Broeker) (2001-04-10)|
|Re: Tools to "prettify" source code firstname.lastname@example.org (Michael Stumpfl) (2001-04-10)|
|From:||Hans-Bernhard Broeker <email@example.com>|
|Date:||10 Apr 2001 01:19:44 -0400|
|Organization:||Aachen University of Technology (RWTH)|
|Posted-Date:||10 Apr 2001 01:19:44 EDT|
Eric Brown <firstname.lastname@example.org> wrote:
> email@example.com says...
> Along the same lines, I've been looking for something similar to the
> old Unix program tgrind or vgrind - you feed it source code, and out
> pops a beautifully formatted document ready to print, in TeX or
> (preferably) PostScript.
Then you sure should give GNU enscript a try. It's an ASCII-to-PS tool
at first sight, but it also knows how to process C and quite some
other languages. Nothing overly fancy --- it's based on regexp's, and
we all know that regexp's aren't powerful enough to fully grasp the
syntax of C --- but it works nicely, most of the time.
> programming tools and documentation tools, but for doing a code
> review, nothing beats a nicely formatted printout.
I'd say a good online analysis tools should be able to beat it, but
that's personal preference...
> [What's wrong with vgrind? It's still around. -John]
Right, but it also has some problems. At least the version I've been
using needs a special layout of function heads to be able to find
them. It's not very nice having to reformat the sources you're trying
to review, just to get a fully functional printout. And you can
easily confuse it to kingdom come with a multiline macro definition,
Hans-Bernhard Broeker (firstname.lastname@example.org)
Return to the
Search the comp.compilers archives again.