sandell@ferret.ils.nwu.edu (Greg Sandell) (12/05/89)
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 Sandell, Institute for Learning Sciences, Evanston, IL * * sandell@ferret.ils.nwu.edu * *************************************************************** *************************************************************** * Greg Sandell, Institute for Learning Sciences, Evanston, IL * * sandell@ferret.ils.nwu.edu * ***************************************************************
mark@mbunix.mitre.org (Cimini) (12/06/89)
In article <1797@accuvax.nwu.edu> sandell@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 ######################################################################