< <meta charset="utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">I installed sbcl and then parenscript with asdf. When I (require<br>'parenscript) and then (ps ....), it says PS undefined. ></span><div>
<font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">PS is defined in the Parenscript package. Does this work?</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"> (ps:ps ...)</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">In general, A:B means "the symbol B, if any, exported from package A".</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">More conveniently, you can evaluate the following:</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"> (in-package :ps)</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">... and then your original form (ps ...) should work.</span></font></div>
<div>
<font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">If you're using Slime, the command slime-repl-set-package can also be used to </span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">switch packages.</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Daniel</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font><br><div class="gmail_quote">On Wed, Nov 10, 2010 at 5:17 PM, Lucian Branescu <span dir="ltr"><<a href="mailto:lucian.branescu@gmail.com">lucian.branescu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 10 November 2010 23:59, Alessio Stalla <<a href="mailto:alessiostalla@gmail.com">alessiostalla@gmail.com</a>> wrote:<br>
> On Thu, Nov 11, 2010 at 12:40 AM, Lucian Branescu<br>
> <<a href="mailto:lucian.branescu@gmail.com">lucian.branescu@gmail.com</a>> wrote:<br>
>> Hello.<br>
>> I'm thinking of using parenscript for my dissertation project. However, I'm<br>
>> a lisp newbie and I can't figure out how to compile a file. There is no<br>
>> README on the website or in the tarball.<br>
>> Could someone please please give me a hand?<br>
><br>
> If you mean to use Parenscript to compile a Lisp file into JavaScript,<br>
> look at <a href="http://common-lisp.net/project/parenscript/reference.html#section-ps-compiler" target="_blank">http://common-lisp.net/project/parenscript/reference.html#section-ps-compiler</a>.<br>
<br>
</div>Yes, that is what I meant.<br>
<br>
I installed sbcl and then parenscript with asdf. When I (require<br>
'parenscript) and then (ps ....), it says PS undefined. What (else) do<br>
I need to import?<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
parenscript-devel mailing list<br>
<a href="mailto:parenscript-devel@common-lisp.net">parenscript-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel</a><br>
</div></div></blockquote></div><br></div>