[Fwd: [Maxima-users] callbacks for SBCL]



--Boundary_(ID_DZfMOKGNhm8i8CF4vg0SFQ)
Content-type: text/plain
Content-transfer-encoding: 7BIT



--Boundary_(ID_DZfMOKGNhm8i8CF4vg0SFQ)
Content-type: message/rfc822
Content-description: Forwarded message - [Maxima-users] callbacks for SBCL

Return-path: <maxima-users-admin@lists.sourceforge.net>
Received: from mailgw2.fnal.gov ([131.225.111.12])
 by imap2.fnal.gov (Sun	Java System Messaging Server 6.1 (built Apr 28 2004))
 with SMTP id	<0I5X00AQMFM92Q70@imap2.fnal.gov> for
 amundson@imapserver2.fnal.gov; Thu, 21 Oct 2004 03:58:57 -0500 (CDT)
Received: from mailav2.fnal.gov (mailav2.fnal.gov [131.225.111.20])
 by	mailgw2.fnal.gov
 (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8	2003))
 with SMTP id <0I5X00C17FM4E4@mailgw2.fnal.gov> for
	amundson@imapserver2.fnal.gov; Thu, 21 Oct 2004 03:58:57 -0500 (CDT)
Received: from mailgw2.fnal.gov ([131.225.111.12])
 by mailav2.fnal.gov	(SAVSMTP 3.1.0.29) with SMTP id M2004102103585701165 for
	<amundson@imapserver2.fnal.gov>; Thu, 21 Oct 2004 03:58:57 -0500
Received: from conversion-daemon.mailgw2.fnal.gov by mailgw2.fnal.gov
	(iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
 id	<0I5X00I01EW5SC@mailgw2.fnal.gov>
 (original mail from	maxima-users-admin@lists.sourceforge.net)
 for amundson@imapserver2.fnal.gov	(ORCPT amundson@fnal.gov); Thu,
 21 Oct 2004 03:58:57 -0500 (CDT)
Received: from hepa2.fnal.gov (hepa2.fnal.gov [131.225.111.5])
 by	mailgw2.fnal.gov
 (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8	2003))
 with ESMTP id <0I5X00CT7FM989@mailgw2.fnal.gov> for
	amundson@imapserver2.fnal.gov (ORCPT amundson@fnal.gov); Thu,
 21 Oct 2004 03:58:57 -0500 (CDT)
Received: by hepa2.fnal.gov (Postfix, from userid 99)	id 7921D23EA9; Thu,
 21 Oct 2004 03:58:57 -0500 (CDT)
Received: from sc8-sf-list1.sourceforge.net
 (lists.sourceforge.net	[66.35.250.206])	by hepa2.fnal.gov (Postfix)
 with ESMTP id 2D84A23E64	for	<amundson@fnal.gov>; Thu,
 21 Oct 2004 03:58:57 -0500 (CDT)
Received: from localhost ([127.0.0.1] helo=projects.sourceforge.net)
 by	sc8-sf-list1.sourceforge.net with esmtp (Exim 4.30)
 id 1CKYla-0005Q1-1S; Thu, 21 Oct 2004 01:57:50 -0700
Received: from sc8-sf-mx1-b.sourceforge.net
 ([10.3.1.11]	helo=sc8-sf-mx1.sourceforge.net)	by sc8-sf-list1.sourceforge.net
 with esmtp	(Exim 4.30)
 id 1CKYc9-0003ih-0b	for maxima-users@lists.sourceforge.net; Thu,
 21 Oct 2004 01:48:05 -0700
Received: from war.ocf.berkeley.edu ([192.58.221.244] ident=0)
 by	sc8-sf-mx1.sourceforge.net with esmtp (Exim 4.41)
 id 1CKYc8-0001ok-Ha	for	maxima-users@lists.sourceforge.net; Thu,
 21 Oct 2004 01:48:04 -0700
Received: from conquest.OCF.Berkeley.EDU
 (IDENT:1@conquest.OCF.Berkeley.EDU	[192.58.221.248])
 by war.OCF.Berkeley.EDU (8.12.11/8.9.3) with ESMTP id	i9L8m1IG009194	for
 <maxima-users@lists.sourceforge.net>; Thu, 21 Oct 2004 01:48:01 -0700
Received: (from tfb@localhost)	by conquest.OCF.Berkeley.EDU (8.11.7/8.11.7)
	id i9L8m0215575; Thu, 21 Oct 2004 01:48:00 -0700 (PDT)
Date: Thu, 21 Oct 2004 01:48:00 -0700
From: "Thomas F. Burdick" <tfb at OCF>
Subject: [Maxima-users] callbacks for SBCL
Sender: maxima-users-admin@lists.sourceforge.net
To: maxima-users@lists.sourceforge.net
Errors-to: maxima-users-admin@lists.sourceforge.net
Message-id: <16759.30656.930182.913478@conquest.OCF.Berkeley.EDU>
MIME-version: 1.0
X-Mailer: VM 6.90 under Emacs 20.7.1
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Precedence: bulk
X-BeenThere: maxima-users@lists.sourceforge.net
X-Milter: Spamilter (Reciever: war.OCF.Berkeley.EDU; Sender-ip:	192.58.221.248;
 Sender-helo: conquest.ocf.berkeley.edu;)
X-Original-Date: Thu, 21 Oct 2004 01:48:00 -0700
X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on hepa2.fnal.gov
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable
	version=3.0.0
X-Spam-Level: 
X-Mailman-Version: 2.0.9-sf.net
List-Post: <mailto:maxima-users@lists.sourceforge.net>;
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/maxima-users>;,
	<mailto:maxima-users-request@lists.sourceforge.net?subject=subscribe>;
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/maxima-users>;,
	<mailto:maxima-users-request@lists.sourceforge.net?subject=unsubscribe>;
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum=maxima-users>;
List-Help: <mailto:maxima-users-request@lists.sourceforge.net?subject=help>;
List-Id: For users of DOE-MACSYMA and descendants (like Maxima)
	<maxima-users.lists.sourceforge.net>
Original-recipient: rfc822;amundson@imapserver2.fnal.gov

Christophe Rhodes mentioned that you all might be interested in
callbacks for SBCL.  I have a callbacks system here for Darwin/PPC,
Solaris/SPARC, and Linux/x86.  Something based on this should
eventually get integrated into sbcl.  I'd like anyone interested to
test it, so if you're interested, please use it, and report any bugs
or interface issues/desires to me!

To use it:

  $ cd sbcl-af
  $ sbcl
  * (load "system")
  * (save-lisp-and-die "af.core")
  $ sbcl --core af.core
  * (load "tests/static-vector.impure.lisp")
  * (load "tests/alien-functions.impure.lisp")
  ;; If you're not in the debugger, everything works.

The interface is described in the comments at the top of
alieneval.lisp, and in the docstrings.  In particular, look for
define-alien-function, with-alien-function, and alien-lambda.
alien-functions.impure.lisp should also serve as examples.  If you
have any questions, please ask me!

Thanks,
Thomas



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Maxima-users mailing list
Maxima-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/maxima-users

--Boundary_(ID_DZfMOKGNhm8i8CF4vg0SFQ)--