Xref: utzoo comp.lang.lisp:1001 comp.lang.c:11227
Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!ernie.Berkeley.EDU!cox
From: cox@ernie.Berkeley.EDU (Charles A. Cox)
Newsgroups: comp.lang.lisp,comp.lang.c
Subject: Re: Calling LISP from C
Message-ID: <24992@ucbvax.BERKELEY.EDU>
Date: 8 Jul 88 17:09:43 GMT
References: <6632@shamash.UUCP>
Sender: usenet@ucbvax.BERKELEY.EDU
Reply-To: cox@ernie.Berkeley.EDU.UUCP (Charles A. Cox)
Organization: University of California, Berkeley
Lines: 15

In article <6632@shamash.UUCP> jwabik@shamash.UUCP (Jeff Wabik) writes:
>
>I have a need to invoke LISP functions from C on a UNIX workstation
>and pass arguments/results between the LISP and C functions.  Using
>Kyoto Common LISP or Allegro CL the reverse can be done, i.e. call C
>functions from LISP but this is done by having the LISP process
>running first.  How to call LISP functions from C ?

With Franz Inc.'s Allegro CL's foreign function interface, you can
call LISP functions from C through the `call-back' facility
(documented in the User's Guide).  The LISP process still has to
be the main one since LISP functions need to run in LISP's runtime
environment.

	Charley Cox
	cox@renoir.Berkeley.EDU