[Openmcl-devel] Embedding CPython in CCL

Ron Garret ron at flownet.com
Sun Aug 2 19:01:58 PDT 2009


Thanks!  This actually works for me.  I had to make one small change:

(cffi:defcfun (#+:64-BIT-TARGET "Py_InitModule4_64"
                #-:64-BIT-TARGET "Py_InitModule4"
                Py_InitModule4)
...

but other than that it seems to work like a charm.  Thanks again!

Thanks!
rg



On Aug 2, 2009, at 4:47 PM, Ian Eslick wrote:

> There is a good first pass of this here:  http://common-lisp.net/project/python-on-lisp/
>
> I had some trouble getting it to work on ccl when i tried recently,  
> but haven't had time to dive in and see why.
>
> Ian
>
> Sent from my iPhone
>
> On Aug 2, 2009, at 6:39 PM, Ron Garret <ron at flownet.com> wrote:
>
>> I know about CL-Python but the problem with that is that it doesn't
>> track new versions of Python, and it can't load Python modules that
>> are implemented in C.  It seems like it would not be too hard to  
>> embed
>> the C-Python interpreter in CCL.  Not trivial to be sure, but no
>> harder than, say, the Objective-C bridge.  That would allow CCL to
>> completely subsume Python in terms of functionality and library
>> coverage, which would kick ass.
>>
>> So I have the usual questions: has someone already done this?  If  
>> not,
>> is anyone interested in working on it, either collaboratively or for
>> money?  If the latter, please send me a quote.
>>
>> Thanks,
>> rg
>>
>> _______________________________________________
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
>> http://clozure.com/mailman/listinfo/openmcl-devel




More information about the Openmcl-devel mailing list