Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site yetti.UUCP Path: utzoo!utcs!mnetor!yetti!oz From: oz@yetti.UUCP (Ozan Yigit) Newsgroups: net.lang.c Subject: Re: C structure diagram generator Message-ID: <143@yetti.UUCP> Date: Tue, 9-Apr-85 09:14:11 EST Article-I.D.: yetti.143 Posted: Tue Apr 9 09:14:11 1985 Date-Received: Tue, 9-Apr-85 15:48:56 EST References: <209@isosvax.UUCP> <6@avsdS.UUCP> Reply-To: oz@yetti.UUCP (System) Organization: York U. Comp.Sci. Downsview, ONT. Lines: 27 Summary: In article <6@avsdS.UUCP> rlr@avsdS.UUCP (Rhode L. Roberts) writes: >> Does anyone have a method of producing a "line printer graphical" >> representation of a C struct? Input would be a C structure and any >> additional info. needed to complete its definition; Output would >> be a depiction of the structure suitable for 'lpr'. >> >> Thanks in advance >> Ed Reeder >> Intel Corp., 2402 Beardsley Rd, Phoenix, AZ 85027 >> (602) 869-3704 >> {subject to change}!isosvax!oer > >I think that's a great idea! I could use it also. A research report of interest in this issue is "Diagramming Icon Data Structures" by Ralph E. Griswold, Dept. of Computer Science, The University of Arizona. (TR 84-5). This research report includes such a program in Icon, for Icon. The output is in tbl/troff. It should not be too difficult to adapt these for C (in C perhaps). For copies of the research report, contact the University of Arizona, Dept. of Computer Science, Tucson, Arizona 85721. Oz (wizard of something or another, no doubt.) Electric: usenet: {decvax|ihnp4|..}!{utzoo|utcs}!yetti!oz bitnet: oz@yuleo