Yeah, looks like the wrong package. Also, you should use Quicklisp to get Parenscript, it sets up everything automatically:
http://www.quicklisp.org/beta/
Vladimir
2010/12/13 Theam Yong Chew senatorzergling@gmail.com:
On 12/13/10, Wout Perquin wout.perquin@skynet.be wrote:
Hi,
I have just installed the latest version of Parencript. In detail I did :
- downloaded parenscript-2.2 and anaphora-0.9.3 and saved it in :
/var/clfree/anaphora-0.9.3 /var/clfree/parenscript-2.2
- I load with asdf
(defun asdf-register (library) (pushnew library asdf:*central-registry* :test #'equal)) (defun asdf-load (x) (asdf:operate 'asdf:load-op x)) (defun asdf-require (x y) (asdf-register x) (asdf-load y)) (asdf-require "/var/clfree/anaphora-0.9.3/" :anaphora) (asdf-require "/var/clfree/parenscript-2.2/" :parenscript)
Next I try it : a) (ps:ps (slot-value obj 'foo)) -->
- Warning: SLOT-VALUE is deprecated, use GETPROP instead
"obj.foo;"
b) (ps:ps (getprop obj 'foo)) --> "getprop(obj, 'foo');"
It doesn't seem to recognize getprop. Neither does it recognize chain and create. My older version still works ok.
Any idea what I did wrong, or have overlooked ?
Have you got the right package? That should be ps:getprop, not cl-user::getprop. That's the obvious thing I can think of right now.
Hope that helps. :-)
Yong.
parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel