Jianshi Huang | 10 Nov 2009 08:06
Picon
Gravatar

Re: Integrating Lush with Common Lisp

Hi Yuri,

On Tue, Nov 10, 2009 at 3:21 AM, Yury Sulsky <yury.sulsky <at> gmail.com> wrote:
> I think that when you compile a Lush function with dhc-make, it's pretty
> self contained. Maybe one way to do this would be to write a wrapper around
> dhc-make that also generates FFI bindings? You'll just need access to the
> argument types as well as the hidden parameters passed into the function.

That's a good idea, I'll look at dhc-make. Thanks.

>
> By the way I'm not sure if this helps you at all but a while back I wrote a
> small library to embed C code inside Common Lisp programs in the style of
> Lush:
>
> http://homepages.nyu.edu/~ys453/#inline_c
>

Ah, I've seen that before, very neat solution :)

> It only works for CMUCL and SBCL however.
>

I see.

Cheers,

> Yury
>
> On Nov 8, 2009, at 11:52 PM, Jianshi Huang <jianshi.huang <at> gmail.com> wrote:
(Continue reading)


Gmane