当我试图在Ubuntu 8.04上编译最新版本的Clisp时,我总是在运行configure之后得到这个错误:
Configure findings:
FFI: no (user requested: default)
readline: yes (user requested: yes)
libsigsegv: no, consider installing GNU libsigsegv
./configure: libsigsegv was not detected, thus some features, such as
generational garbage col
我想在Ubuntu16.04 (从aarch64服务器开始)容器中编译xindy之前,先编译clisp源代码aarch64。gcc是:
gcc (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS
我是lisp的新手,在cygwin的clisp上工作。当我遇到问题时,我会看到如下所示
*** - SYSTEM::READ-EVAL-PRINT: variable DB.CLISP has no value
The following restarts are available:
USE-VALUE :R1 Input a value to be used instead of DB.CLISP.
STORE-VALUE :R2 Input a new value for DB.CLISP.
ABORT :R3 Abort
我可以使用快速lisp:安装的软件包
我尝试使用命令行执行使用包的lisp代码。代码是
(ql:quickload "yacc")
(use-package 'yacc)
当我尝试使用clisp ex.lisp时,我收到了以下错误消息:
*** - READ from #<INPUT BUFFERED FILE-STREAM CHARACTER #P"ex.lisp" @2>: there
is no package with name "QL"
我不得不使用clisp < ex.lisp来加载包。
这两种
Windows 10,CLISP 2.49,FFI。
我已经使用内置的FFI启动了一个windows循环和一个基本的windproc回调。初始的windows消息WM_PAINT很好。在某些测试中,SetWindowPos或最小化/最大化窗口(所有这些都调用WM_PAINT )也很好。
但是当我,用户,抓住窗口的边缘调整窗口的大小时,它就崩溃了。没有lisp错误。我试图通过Visual附加到CLISP,但也没有windows异常。
我添加了(room)和(ext:gc)来检查内存问题。我非常怀疑room报告说在程序崩溃之前"Bytes available until next GC:
有人能解释一下为什么我使用sbcl和clisp的简单程序会得到不同的结果吗?我所做的是不是由语言定义的,或者是两个lisp解释器中的一个错误?
; Modify the car of the passed-in list
(defun modify (a) (setf (car a) 123))
; Create a list and print car before and after calling modify
(defun testit () (let ((a '(0)))
(print (car a))