Some time ago I ported the CFFI (if i remember correctly it was CFFI that i choose mainly as one of the nicest one to start from as code sample to understand the pretty cryptic swig api) swig interface to generate an abstract syntax tree of the parsed C code in the form of a tree of s-expressions of the kind :
 
(c-package
    (c-function ...)
    (c-class
        (c-method ...)
        ...)
    ...)
 
with the ... containing all the info swig reports from parsing the C headers.
 
Starting from this, the idea was to either :

The code is freely available if anyone wants it.

On Sat, Mar 15, 2008 at 2:13 PM, Marc Feeley <feeley@iro.umontreal.ca> wrote:
>
> On 15-Mar-08, at 12:45 PM, Matthew Martin wrote:
>
> > What about getting SWIG (  http://www.swig.org/ ) working with Gambit?
> > It already supports Chicken, Guile, and MzScheme.
>
> Thanks for the suggestion.  I have added it to the GSoC ideas list (http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/GSoC_ideas_list
> ).
>
> A few other ideas were suggested to the Snow and Gambit lists.  Could
> the authors please go to the ideas list page and add those suggestions
> in the second section?
>
>
> Marc
>
> _______________________________________________
> Snow-users-list mailing list
> Snow-users-list@iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/snow-users-list
>
>