[net.lang.c] C structure diagram generator

oer@isosvax.UUCP (Ed Reeder) (03/14/85)

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

rlr@avsdS.UUCP (Rhode L. Roberts) (04/04/85)

> 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.

oz@yetti.UUCP (Ozan Yigit) (04/09/85)

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