C <---> LISP foreign function interface

Cimini mark at mbunix.mitre.org
Wed Dec 6 23:25:26 AEST 1989


In article <1797 at accuvax.nwu.edu> sandell at ferret.ils.nwu.edu (Greg Sandell) writes:
>
>What facilities exist in Common Lisp to call compliled code written
>in foreign languages?  Specificially, I would like to know how to
>have some C code run within LISP.
>
>Thanks in advance,
>Greg Sandell
>

Greg,

	Sun provides extensions to Common LISP int the area of foreign
function interfaces.  There are two ways to run a foreign program: 1)
the LISP code includes the (in this case) C .o code into its image and calls
the functions, 2) LISp launches a runable program and a communication path is 
set-up between the two processes.  This of course is a watered down explaination
for more details see some Sun documentation.



						Mark

######################################################################
# We, the unwilling, led by			Mark Cimini
# the unknowing, are doing the			The MITRE Corp.
# impossible for the ungrateful.		Bedford, MA
######################################################################



More information about the Comp.lang.c mailing list