Related articles |
---|
[2 earlier articles] |
Re: Tools to "prettify" source code viola@pp.htv.fi (Pekka Enberg) (2001-03-31) |
Re: Tools to "prettify" source code eliotm@pacbell.net (Eliot Miranda) (2001-04-04) |
Re: Tools to "prettify" source code perkens@sdm.de (Burkhard Perkens-Golomb) (2001-04-04) |
Re: Tools to "prettify" source code ericbr@oz.net (Eric Brown) (2001-04-04) |
Re: Tools to "prettify" source code marcov@toad.stack.nl (2001-04-10) |
Re: Tools to "prettify" source code idbaxter@semdesigns.com (Ira D. Baxter) (2001-04-10) |
Re: Tools to "prettify" source code broeker@physik.rwth-aachen.de (Hans-Bernhard Broeker) (2001-04-10) |
Re: Tools to "prettify" source code michael.stumpfl@jkh.uni-linz.ac.at (Michael Stumpfl) (2001-04-10) |
From: | Hans-Bernhard Broeker <broeker@physik.rwth-aachen.de> |
Newsgroups: | comp.compilers |
Date: | 10 Apr 2001 01:19:44 -0400 |
Organization: | Aachen University of Technology (RWTH) |
References: | 01-03-155 01-04-024 |
Keywords: | tools |
Posted-Date: | 10 Apr 2001 01:19:44 EDT |
Originator: | broeker@ |
Eric Brown <ericbr@oz.net> wrote:
> michael.stumpfl@jkh.uni-linz.ac.at 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,
IIRC.
--
Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de)
Return to the
comp.compilers page.
Search the
comp.compilers archives again.