[Bug driver/43334] Generate an XML dump of the parse tree

2010-03-11 Thread pinskia at gmail dot com


--- Comment #1 from pinskia at gmail dot com  2010-03-11 17:37 ---
Subject: Re:   New: Generate an XML dump of the parse tree



Sent from my iPhone

On Mar 11, 2010, at 8:26 AM, jrevans1 at earthlink dot net
gcc-bugzi...@gcc.gnu.org 
  wrote:

 Essentially I would like a feature similair to gccxml  
 (www.gccxml.org) that is
 officially blessed and native to the compiler instead of some out-of- 
 date hack.
 If a feature like this were to be officially supported, it would  
 open the doors
 to many applications who might want to use the gcc to parse its  
 files for them.

Gcc now support plugins which in my mind a better way to support  
applications which want to use gcc to parse sources.



 It is a good idea, with minimal impact, it just requires a forked  
 gcc to have
 its features.

I don't think it will be that minimal as people will depend on the  
format being constant between versions which I doubt will happen.




 -- 
   Summary: Generate an XML dump of the parse tree
   Product: gcc
   Version: 4.3.0
Status: UNCONFIRMED
  Severity: enhancement
  Priority: P3
 Component: driver
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jrevans1 at earthlink dot net


 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43334



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43334



[Bug driver/43334] Generate an XML dump of the parse tree

2010-03-11 Thread manu at gcc dot gnu dot org


--- Comment #2 from manu at gcc dot gnu dot org  2010-03-11 21:10 ---
James, you probably can implement this as a GCC plugin, not native or forked
GCC needed, as Andrew said. 

But, in any case, you should seek developers from outside the core GCC for your
project (and if possible, bring them closer to GCC), because core GCC
developers are already overworked with ongoing projects and this, as far as I
know, is not an interesting feature for them.


-- 

manu at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||manu at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43334