[GCC-XML] RE: GCC-XML extension (fwd)

Brad King brad.king at kitware.com
Thu Jan 18 15:49:19 EST 2001


Everyone please note that to send to this list, gccxml at public.kitware.com
is the address, not gccxml at kitware.com.

---------- Forwarded message ----------
Date: Thu, 18 Jan 2001 19:16:24 -0000
From: "Dupont, Michael" <michael.dupont at mciworldcom.de>
To: 'Brad King' <brad.king at kitware.com>
Cc: "'gccxml at kitware.com'" <gccxml at kitware.com>
Subject: RE: GCC-XML extension

Hello Brad,

I am happy to see this project start up and that you are going to be working
on the project.
As you might have remembered, I have been working in parallel on a
complementry xml interface.

My concentration has been on a XML representation of the "tree" and to some
degree, the "rtl" structures used internally by the gnu compiler collection.

Currently I am working on :
1. Analysis of the data structures bases on thier usage in expressions and
what
statements in what functions *use* which data members.

2. The typeing of the tree pointers, that means :
 what is *really* pointed to by a given data member, and what kind of tree
structures are used in each different member pointer of each type of tree
class.

With this infomation I hope be to be able to extract a much better picture
of gcc class hierarchy.

It would be great to use the xml output that you are working on to
complement the work,
specifically I am interested in  :

1. Taking the tree.h from the GCC and running it through your XML output
routine.
	Maybe you can run this through your currently running copy?
	Even an example XML output directory would be cool.....

2. Creating a XSLT routine to extract the field members and thier types from
XML file.
3. Generating a better XML-Output routine that uses the full type info to
extract all the fields.
4. Adding in the knowledge that I have gained from the tree-internals and
the dynamic usage data to 
create a kick-ass 
5. Extending this to be able to xml-dump *any* compiler data structure.
	- rtl
	- preprocessor tokens
	- bison rules 
	- STABS debugging information
	- object file layout.
I think that this would be a great contribution to the gnu compiler
6. make a routine to be able to also dump a DTD from a given data structure.

These are just some ideas, I am sure you can see where this is going.
Looking forward to hearing from you.
Mike

Mike
-- 
This communication contains information which is confidential and 
may also be privileged.  It is for the exclusive use of the 
intended recipient(s).  If you are not the intended recipient(s), 
please note that any distribution, copying or use of this 
communication or the information in it is strictly prohibited.  
If you have received this communication in error, please notify 
the sender immediately and then destroy any copies of it.





More information about the gccxml mailing list