[gambit-list] [Snow-users-list] Google Summer of Code

Guillaume Cartier gcartier at jazzscheme.org
Mon Mar 17 19:52:57 EDT 2008


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 :

   - define the various c-* as macros to generate the underlying Gambit
   FFI code or
   - use the s-expression as a more Lisp friendly format to represent the
   C headers for whatever need

The code is freely available if anyone wants it.
 On Sat, Mar 15, 2008 at 2:13 PM, Marc Feeley <feeley at 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 at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/snow-users-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20080317/8a45bf52/attachment.htm>


More information about the Gambit-list mailing list