Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!burl!codas!ki4pv!tanner From: tanner@ki4pv.UUCP Newsgroups: comp.sources.wanted Subject: Convert C prog to Nroff(1) Input Message-ID: <6942@ki4pv.UUCP> Date: Tue, 24-Mar-87 16:54:26 EST Article-I.D.: ki4pv.6942 Posted: Tue Mar 24 16:54:26 1987 Date-Received: Thu, 26-Mar-87 00:48:03 EST Organization: CompuData South, DeLand Lines: 25 Keywords: mythical vgrind public_domain Summary: Pretty-Printer Front End for Nroff Surely someone's already written this boy, and it would be a shame to have to re-invent the wheel. I want a prog which will take a C prog and produce an "nroff" input file. It might do some or all of the following: convert arrows such as in foo->bar to foo\(->bar highlight keywords, variable names, &c. insert .bp where it finds form-feeds spot nested comments & complain Something that did only that would be nice; it would probably want a package "tmac.c_pretty_printer_stuff" or equiv to take care of page headers, subtitles, &c. I put sub-titles on the same line as the form feeds (typical line: "^L\t /* this is a sub-title */") and have a simple-minded (and old and ugly) pretty-printer which spots them, and I'd want to add this to whatever I got. If you have such a beast, please let me know by email. If it's OK with you, I'll hack it to do the job we need here, and maybe even post it if I get a lot of "me-too" requests. In fact, those with "me-too" requests might as well write to me here. {ihnp4!hropus !codas decvax!ucf-cs allegra killer}!ki4pv!tanner -- {akgua!codas allegra decvax!ucf-cs ihnp4!hropus}!ki4pv!tanner