This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
C/C++ front-end extension a la SWIG?
- To: gcc at gcc dot gnu dot org
- Subject: C/C++ front-end extension a la SWIG?
- From: thi <ttn at revel dot glug dot org>
- Date: Wed, 28 Jun 2000 17:21:39 -0700
- Reply-to: ttn at gnu dot org
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