[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A toy example of embedding C code in lisp and vice versa
From: |
bolega |
Subject: |
A toy example of embedding C code in lisp and vice versa |
Date: |
Wed, 08 Dec 2010 15:13:25 -0000 |
User-agent: |
G2/1.0 |
Here is a link to a thread that discusses this topic but there is no
complete example.
http://objectmix.com/lisp/362409-howto-use-lisp-scripting-language-within-c.html
Lars Lune has a good section on code by searching this string
"On Tue, 18 Mar 2008 01:16:00 -0700, Blackguester wrote:"
but his code is replaced with smileys and even source shows it. I
could not muster the confidence as a newbie to go into it by myself.
Unless a guru can guide and explain.
http://common-lisp.net/project/cffi/
http://common-lisp.net/project/cffi/manual/html_node/Tutorial.html
http://www.sbcl.org/manual/Foreign-Function-Interface.html
Should I pick SBCL or ECL ? I have a long term view.
- A toy example of embedding C code in lisp and vice versa,
bolega <=