For Programmers: Free Programming Magazines  


Home > Archive > Scheme > March 2007 > Generating FFI code?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Generating FFI code?
Griff

2007-03-16, 7:10 pm

How do folks normally generate FFI code for C?

It looks like SWIG (http://www.swig.org/) does Scheme.

Aaron Hsu

2007-03-16, 7:10 pm

On 2007-03-16 15:57:01 -0500, "Griff" <grettke@gmail.com> said:

> How do folks normally generate FFI code for C?


I usually type it out by hand, but I admit that I would probably not do
it like that if I had an option that was easy and wasn't too hard. :-)

- Aaron

Kon Lovett

2007-03-17, 7:14 pm

In article <1174078621.339835.277390@b75g2000hsg.googlegroups.com>,
"Griff" <grettke@gmail.com> wrote:

> How do folks normally generate FFI code for C?
>
> It looks like SWIG (http://www.swig.org/) does Scheme.


Well, SWIG does a few Schemes.

Since there isn't an FFI Scheme std it depends on which Scheme you are
using.

There was SRFI-50 < http://srfi.schemers.org/srfi-50/srfi-50.html > but
nobody picked up on it for general implementation.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com