0

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

2
  • 1
    Does it work if you call (asdf:load-system :yacc) prior to use-package? Not sure if it needs to be a keyword or a string for load-system. Commented Jan 7, 2014 at 14:24
  • @Andrew: Thanks for your hint. That was it. Commented Jan 7, 2014 at 14:32

1 Answer 1

4

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 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.