www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/22/04:07:40

Date: Wed, 22 Jul 1998 11:07:16 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
cc: "Claus P." <crp AT bigfoot DOT com>, djgpp AT delorie DOT com
Subject: Re: c code formatter / pretty-printer
In-Reply-To: <199807211232.OAA11903@acp3bf.physik.rwth-aachen.de>
Message-ID: <Pine.SUN.3.91.980722110337.10941D-100000@is>
MIME-Version: 1.0

On Tue, 21 Jul 1998, Hans-Bernhard Broeker wrote:

> (BTW: that other program is called 'vgrind', not 'vgring'. There's
> also a variant of it, 'tgrind', that prints to TeX).

If I am not mistaken, `vgrind' and `tgrind' have different functionality: 
they pretty-print a source without restructuring it, whereas `indent' 
re-indents and restructures the source.

If the original poster is after a pretty-printer, then GNU Enscript (also 
ported to DJGPP) is another possibility.  It generates a PostScript file 
which nicely highlights language-specific constructs (keywords, 
identifiers, etc.)

And of course, there's the `ps-print' command in Emacs which does the 
same.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019