[GCC-XML] gccxml newbie, some questions
Wolfgang Draxinger
wdraxinger at darkstargames.de
Wed Aug 25 20:01:43 EDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm currently developing a lightweight (means very small and fast) binary
component system, that's based on interface reflection rather than
interface inheritance. This requires however, that C++ must be parsed and
GCCXML ist just ideal for this job.
When I compiled GCCXML I saw, that there is a lot of code in the patched
GCC from which I think, that it is not needed for GCCXML, e.g. the whole
stuff that is generating the binary code. Wouldn't it be possible, to
strip such code away? All code files that are not touched at all when
compiling the C++ preprocessor could be safely striped away, along with
all not needed header files.
Also I wonder, if it would be possible to make a library from GCCXML that
instead of producing XML Output is providing some intermediate interface,
that then another programm uses to generate the XML output. I ask this,
because this would make it possible for other 3rd party programms, that
need to parse C++ to include this library w/o having to parse the
generated XML because the output of the parser library would be
sufficient. XML parsing is simple, but not parsing at all is yet simpler.
Happy coding
- --
Wolfgang Draxinger
lead programmer at DARKSTARgames, a hobbist game project
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBLShnBfWmRR/TvT4RAocwAJ9ros4V7XwYmbm+Zer7pFe71kb5WwCfYr5h
YiY+k8fiyJ2uDIpHdGkS6S4=
=D7dn
-----END PGP SIGNATURE-----
More information about the gccxml
mailing list