> Does anyone have an example on how to call a cmucl function from C? I > have enough if I can pass a single integer back to CMUCL.
I just put the sources for my cl-pcre libpcre interface on the web under http://www.cip.physik.uni-muenchen.de/~tf/lisp/cl-pcre, which gives an example not only for calling LISP from C, but also for using the malloc-override feature of pcre in conjunction with a LISP memory allocator that puts things into a byte array (libpcre's generated bytecode is relocatable) to circumvene the problem that one cannot SAVE-LISP a core which makes use of aliens. For the original purpose of making perl compatible regexps available under LISP, one should not use this. Edi Weitz' cl-ppcre Debian package does a far greater job there, but it is a nice example nevertheless. -- regards, [EMAIL PROTECTED] (o_ Thomas Fischbacher - http://www.cip.physik.uni-muenchen.de/~tf //\ (lambda (n) ((lambda (p q r) (p p q r)) (lambda (g x y) V_/_ (if (= x 0) y (g g (- x 1) (* x y)))) n 1)) (Debian GNU)
