C/C++ front-end extension a la SWIG?

thi ttn@revel.glug.org
Wed Jun 28 17:24:00 GMT 2000


hello gcc list,

i understand gcc backend is unlikely to be librarified (from reading the
thread: http://gcc.gnu.org/ml/gcc/2000-01/msg00257.html ), but how about
the C/C++ front-end?  what i'd like is to be able to integrate guile w/
the parser so as to be able to map .h declarations to make glue code.

this is similar to what swig ( http://www.swig.org ) currently does, but
i'm thinking it would be better to use the widely used and tested parser
from gcc than the swig parser, which does not grok many C++isms.

does this make sense?  is there anyone working on something like this?
would this kind of work be harmful to the free software community?  is
there a better approach (that allows me to use the gcc parser)?

thanks,
thi


More information about the Gcc mailing list