Using packages installed from quicklisp with clisp

和自甴很熟 提交于 2019-12-25 17:00:30

问题


I installed cl-yacc from quick lisp:

(ql:quickload "yacc")

I checked it is available.

[12]> (ql:system-apropos "yacc")
#<SYSTEM lispbuilder-yacc / lispbuilder-20130312-svn / quicklisp 2013-08-13>
#<SYSTEM yacc / cl-yacc-20101006-darcs / quicklisp 2013-08-13>

I tried to use the package, but I got errors.

[18]> (use-package '#:yacc)

*** - USE-PACKAGE: There is no package with name "YACC"
The following restarts are available:
USE-VALUE      :R1      Input a value to be used instead.
ABORT          :R2      Abort main loop

[20]> (use-package 'yacc)

*** - USE-PACKAGE: There is no package with name "YACC"
The following restarts are available:
USE-VALUE      :R1      Input a value to be used instead.
ABORT          :R2      Abort main loop

What might be wrong? How to use the package? I use clisp under Mac OS X 10.7.5


回答1:


There seems to be two ways to do it.

ql:quickload

[1]> (ql:quickload "yacc")
To load "yacc":
  Load 1 ASDF system:
    yacc
; Loading "yacc"

("yacc")
[2]> (use-package 'yacc)
T

asdf:load-system

[1]> (asdf:load-system :yacc)
0 errors, 0 warnings
T
[2]> (use-package 'yacc)
T


来源:https://stackoverflow.com/questions/20974020/using-packages-installed-from-quicklisp-with-clisp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!