This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]