public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: James Michael DuPont <mdupont777@yahoo.com>
To: gcc@gnu.org
Subject: XML dumping and GraphViz/VCG in the GCC ast-optimizer-branch
Date: Tue, 15 Oct 2002 07:34:00 -0000	[thread overview]
Message-ID: <20021015140036.1136.qmail@web13308.mail.yahoo.com> (raw)

Dear GCC developers,

I was really suprized and happy to see the patches applied to the 
ast-optimizer-branch from Sebastian Pop. 
His XML dumping of call graphs is very useful. 
Can I take this as general acceptance of XML dumping in the gcc? 

At least it has not been attacked or criticized on the mailling list.

Also the dump-tree-dot module dumps into a format for the non-free
software dot, a part of graphviz. I take this is an accepted practice
of dumping tree structures for explict usage by non-free software? 

I hope that this is an indication that there is no longer any policy
problem of using the ast-dumps from the gcc by other free software
modules? I mean if the output is meant for non-free software, then you
must be happy to have this output used by free software.

Or is the contents of the CVS not an indication of policy at all, 
with the policy makers not enforcing them, and the cvs commiters not
asking for permission?

There have been many people who are interested in using the
introspector for creating free software. I have been trying to convince
people that it is better to not output asts to non-free software or
xml. But if the gcc is accepting patches to do the same, then I would
be silly not to follow suite. 

In fact, I cannot see any real reason anymore to get stressed out about
this issue at all. 

We am going to be re-starting up the binary distribution of the patched
gcc for full dumping of function bodies into xml and post processing in
perl. I had taken them down out of respect to some or Also we we will
be creating a local branch of the gcc ast-optimizer branch in the
introspector.sf.net repository.

My goal is to create a statically linked visualization and manipulation
tool under the GPL by gluing togeather the components of the VCG, GNOME
DIA, GCC and Perl. 

The VCG is a GPLed software that provides similar functions to 
GraphVis, In fact I have now gotten an "Un-Uglified" copy of the
sources from the author, and will be pushing to get the Gcc users to
switch over to use free software.

Also I have planned out an exchange of the ast information via
in-memory trees stored in the libxml2 dom structures. That would allow
for the visualization tools to get a "Live feed" from the compiler as a
push data feed. I hope that it will eliminate the need for external
representation, in fact the entire system could be statically linked
into one huge monolithic application. That would also include an
embedded perl for a script interpreter.

Anyway, we have many discussions about this issue on the list in the
past, and I think this whole issue of external representation is really
turning out to be a free-for-all where is it easier to ask for
forgiveness then for permisison, not following any real guidelines. It
is now time for me to get back in on this free-for-all, otherwise I
will just be left out.

Mike

=====
James Michael DuPont
http://introspector.sourceforge.net/

__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

             reply	other threads:[~2002-10-15 14:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-15  7:34 James Michael DuPont [this message]
2002-10-15 11:06 ` Joe Buck
2002-10-15 11:19   ` James Michael DuPont
2002-10-15 11:37     ` Joe Buck
2002-10-15 11:48       ` James Michael DuPont
2002-10-15 13:13         ` Joe Buck
2002-10-19  4:31         ` Zack Weinberg
2002-10-15 18:03     ` Joseph S. Myers
2002-10-16  2:38       ` James Michael DuPont
2002-10-15  7:45 Robert Dewar
2002-10-15  7:53 ` James Michael DuPont
2002-10-15  8:28 Robert Dewar
2002-10-15 11:04 ` James Michael DuPont

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021015140036.1136.qmail@web13308.mail.yahoo.com \
    --to=mdupont777@yahoo.com \
    --cc=gcc@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).