[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#189927: RFP: gcc-xml -- XML output extension to GCC



On Mon, Apr 21, 2003 at 01:12:38AM +0200, Dominique Devriese wrote:
> There is one open-source C++ parser, the C++ front-end to GCC, which
> is currently able to deal with the language in its entirety.

This isn't true. It can't grok 'export'.

> Since XML is easy to
> parse,

This is also not true. XML is particularly difficult to parse. The
*only* mitigating factor is that there are generic XML parsers already
implemented for you, and it's hardly alone in that respect.

> other development tools will be able to work with C++ programs
> without the burden of a complicated C++ parser.  

This is misleading. What you get is a representation of a "tree"
(gcc's first-stage internal representation), which is intended for
compiling the code; it is not an accurate representation of the code
itself. Notably, the transformation is one-way - you can't generate
the original program from a tree structure.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ | Dept. of Computing,
 `. `'                          | Imperial College,
   `-             -><-          | London, UK

Attachment: pgpyJKwp5oRG1.pgp
Description: PGP signature


Reply to: