On Sun, Nov 19, 2023 at 06:35:14PM +0800, Qian Yun wrote:
> In your commit 055f3a40 (or svn r490), 2009-01-18, said
> "Allow build even if Clisp lacks FFI.". Old mail says it
> was needed for sage interface (back when they were using
> CLISP instead of ECL, it seems).
Yes, but for many years sage has Lisp with FFI.
> Poplog doesn't support FFI, I've not tried it so I don't
> know if it will build.
Poplog supports FFI. Poplog Clisp does not support FFI,
but we can get what is needed by digging a bit deeper.
Currently main issue with Poplog is that Poplog compiles
on load and does not support .fasl files, which means
our normal Makefiles do not work (I used pre-build Lisp
files with Poplog). Comparably FFI is easy to resolve.
> I plan to add CLASP support soon, it has a very basic FFI,
> (no driect support for c-string, only pointers.) which is
> intended to be used together with CFFI.
Then you will need copy loop that you replaced by implementation
provided functions for other Lisps.
--
Waldek Hebisch