我从cl-yacc安装了quick lisp:
(ql:quickload "yacc")
我检查过它是否可用。
[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>
我尝试使用该软件包,但是我遇到了错误。
[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
可能有什么问题?怎么用包? 我在Mac OS X 10.7.5下使用clisp
答案 0 :(得分:4)
似乎有两种方法可以做到。
[1]> (ql:quickload "yacc")
To load "yacc":
Load 1 ASDF system:
yacc
; Loading "yacc"
("yacc")
[2]> (use-package 'yacc)
T
[1]> (asdf:load-system :yacc)
0 errors, 0 warnings
T
[2]> (use-package 'yacc)
T