all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bolega <gnuist006@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: A toy example of embedding C code in lisp and vice versa
Date: Sat, 12 Jun 2010 12:08:17 -0700 (PDT)	[thread overview]
Message-ID: <0d1dad3b-cd37-4bc3-b903-40ac6a53be32@j8g2000yqd.googlegroups.com> (raw)

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.




             reply	other threads:[~2010-06-12 19:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-12 19:08 bolega [this message]
2010-06-12 19:50 ` A toy example of embedding C code in lisp and vice versa bolega

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0d1dad3b-cd37-4bc3-b903-40ac6a53be32@j8g2000yqd.googlegroups.com \
    --to=gnuist006@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.