I installed sbcl and then parenscript with asdf. When I (require
'parenscript) and then (ps ....), it says PS undefined. >

PS is defined in the Parenscript package. Does this work?

   (ps:ps ...)

In general, A:B means "the symbol B, if any, exported from package A".
More conveniently, you can evaluate the following:

  (in-package :ps)

... and then your original form (ps ...) should work.

If you're using Slime, the command slime-repl-set-package can also be used to 
switch packages.

Daniel


On Wed, Nov 10, 2010 at 5:17 PM, Lucian Branescu <lucian.branescu@gmail.com> wrote:
On 10 November 2010 23:59, Alessio Stalla <alessiostalla@gmail.com> wrote:
> On Thu, Nov 11, 2010 at 12:40 AM, Lucian Branescu
> <lucian.branescu@gmail.com> wrote:
>> Hello.
>> I'm thinking of using parenscript for my dissertation project. However, I'm
>> a lisp newbie and I can't figure out how to compile a file. There is no
>> README on the website or in the tarball.
>> Could someone please please give me a hand?
>
> If you mean to use Parenscript to compile a Lisp file into JavaScript,
> look at http://common-lisp.net/project/parenscript/reference.html#section-ps-compiler.

Yes, that is what I meant.

I installed sbcl and then parenscript with asdf. When I (require
'parenscript) and then (ps ....), it says PS undefined. What (else) do
I need to import?

_______________________________________________
parenscript-devel mailing list
parenscript-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel