[GCC-XML] Source structure of GCCXML
Samuele Kaplun
Samuele.Kaplun at cern.ch
Wed Oct 18 16:52:54 EDT 2006
Alle 20:58, mercoledì 18 ottobre 2006, Brad King ha scritto:
>Samuele Kaplun wrote:
>> Hello to all the list.
>> I'm wondering if a sort of documentation about the sources of GCCXML
>> exists. Or can somebody (very patient) explain me briefly how GCCXML is
>> organized. For example, supposing I want to implement the parsing of
>> functions body, what files should I begin to make familiar with?
>
>There are two components:
>
>1.) A patched GCC 3.3 parser. This is in the GCC directory. The xml
>dump code itself is in GCC/gcc/cp/xml.c, and this is where you should
>begin to add features.
>
>2.) A front-end to compute the flags for the parser needed to simulate
>the preprocessor of the target compiler. This is in the GCC_XML directory.
>
>If you search the list archives you will find mention of other users
>that have implemented function body dumping already.
>
>-Brad
I found in the recent posts the work of Daniel J. Lauk, and I was able to
apply it to the current cvs code (I haven't test it by now). Are you going to
integrate its code in the future?
Kind regards,
Samuele
--
http://www.no1984.org -- No al Trusted Computing
Samuele Kaplun, student at
DISCo - Dipartimento di Informatica, Sistemistica e Comunicazione
Laboratorio di fisica computazionale e sistemi complessi (Fislab)
More information about the gccxml
mailing list