[parenscript-devel] What do I do wrong ?

Vladimir Sedach vsedach at gmail.com
Mon Dec 13 05:20:12 UTC 2010


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 at gmail.com>:
> On 12/13/10, Wout Perquin <wout.perquin at skynet.be> wrote:
>> Hi,
>>
>> I have just installed the latest version of Parencript.
>> In detail I did :
>> 1) downloaded parenscript-2.2 and anaphora-0.9.3 and saved it in :
>> /var/clfree/anaphora-0.9.3
>> /var/clfree/parenscript-2.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 at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>




More information about the parenscript-devel mailing list