<div>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 : </div>

<div> </div>
<div></div>
<div>(c-package</div>
<div>    (c-function ...) </div>
<div>    (c-class</div>
<div>        (c-method ...) </div>
<div>        ...)</div>
<div>    ...)</div>
<div> </div>
<div>with the ... containing all the info swig reports from parsing the C headers.</div>
<div> </div>
<div></div>
<div>Starting from this, the idea was to either : </div>
<div></div>
<ul>
<li>define the various c-* as macros to generate the underlying Gambit FFI code or </li>
<li>use the s-expression as a more Lisp friendly format to represent the C headers for whatever need</li></ul>
<p>The code is freely available if anyone wants it.</p>
<div></div>
<div>On Sat, Mar 15, 2008 at 2:13 PM, Marc Feeley <<a href="mailto:feeley@iro.umontreal.ca">feeley@iro.umontreal.ca</a>> wrote: </div>
<div>> </div>
<div>> On 15-Mar-08, at 12:45 PM, Matthew Martin wrote: </div>
<div>> </div>
<div>> > What about getting SWIG (  <a href="http://www.swig.org/">http://www.swig.org/</a> ) working with Gambit? </div>
<div>> > It already supports Chicken, Guile, and MzScheme. </div>
<div>> </div>
<div>> Thanks for the suggestion.  I have added it to the GSoC ideas list (<a href="http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/GSoC_ideas_list">http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/GSoC_ideas_list</a> </div>

<div>> ). </div>
<div>> </div>
<div>> A few other ideas were suggested to the Snow and Gambit lists.  Could </div>
<div>> the authors please go to the ideas list page and add those suggestions </div>
<div>> in the second section? </div>
<div>> </div>
<div>> </div>
<div>> Marc </div>
<div>> </div>
<div>> _______________________________________________ </div>
<div>> Snow-users-list mailing list </div>
<div>> <a href="mailto:Snow-users-list@iro.umontreal.ca">Snow-users-list@iro.umontreal.ca</a> </div>
<div>> <a href="https://webmail.iro.umontreal.ca/mailman/listinfo/snow-users-list">https://webmail.iro.umontreal.ca/mailman/listinfo/snow-users-list</a> </div>
<div>> </div>
<div>> </div>
<div></div>
<div></div>