<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Apr 2, 2013 at 4:33 PM, Victor <span dir="ltr"><<a href="mailto:bobbie@ua.fm" target="_blank">bobbie@ua.fm</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 Tue, 02 Apr 2013 17:23:30 +0300, Canhua <<a href="mailto:chencanhua@fudan.edu.cn" target="_blank">chencanhua@fudan.edu.cn</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
(defvar my-log-reader (new (chain *yahoo* widget (LogReader "myLogger"))))<br>
</blockquote>
<br></div>
Hello Canhua,<br>
<br>
I tried this code:<br>
<br>
(who:str (ps:ps (defvar my-log-reader (new (chain *YAHOO* widget (LogReader "myLogger"))))))<br></blockquote><div><br></div><div>That should be (ps:new (ps:chain ...))<br><br></div><div>Alessio<br></div><div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
and have got:<br>
<br>
var myLogReader = new(chain(YAHOO, widget, logreader('myLogger')));<br>
<br>
that is obviously different from the intended instructions.<br>
<br>
I am using Parenscript 2.5 obtained from Quicklisp.<br>
<br>
Thanks,<br>
Victor<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
<br>
On Tue, Apr 2, 2013 at 10:07 PM, Victor <<a href="mailto:bobbie@ua.fm" target="_blank">bobbie@ua.fm</a>> wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Hello,<br>
<br>
I would like to express following line of code:<br>
<br></div>
var myLogReader = new YAHOO.widget.LogReader('**<u></u>myLogger');<div class="im"><br>
<br>
in Parenscript-Lisp. According to the reference manual it might be<br>
something like:<br>
<br>
(defvar my-log-reader (new (@ *yahoo* widget LogReader "myLogger")))<br>
<br>
but I get a completely different result.<br>
<br>
What is the proper way to express such kind of statements in Parenscript?<br>
<br>
By the way, contrary to the reference manual, `var' form is not turned<br>
into a variable declaration in JavaScript.<br>
<br>
Thanks,<br>
Victor<br>
<br></div>
______________________________<u></u>**_________________<br>
parenscript-devel mailing list<br>
parenscript-devel@common-lisp.<u></u>**net <<a href="mailto:parenscript-devel@common-lisp.net" target="_blank">parenscript-devel@common-<u></u>lisp.net</a>><br>
<a href="http://lists.common-lisp.net/**cgi-bin/mailman/listinfo/**" target="_blank">http://lists.common-lisp.net/*<u></u>*cgi-bin/mailman/listinfo/**</a><br>
parenscript-devel<<a href="http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel" target="_blank">http://<u></u>lists.common-lisp.net/cgi-bin/<u></u>mailman/listinfo/parenscript-<u></u>devel</a>><br>
<br>
</blockquote>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Tu ne cede malis, sed contra audentior ito --- LvM</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<u></u>_________________<br>
parenscript-devel mailing list<br>
<a href="mailto:parenscript-devel@common-lisp.net" target="_blank">parenscript-devel@common-lisp.<u></u>net</a><br>
<a href="http://lists.common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel" target="_blank">http://lists.common-lisp.net/<u></u>cgi-bin/mailman/listinfo/<u></u>parenscript-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Some gratuitous spam:<br><br><a href="http://ripple-project.org" target="_blank">http://ripple-project.org</a> Ripple, social credit system<br><a href="http://villages.cc" target="_blank">http://villages.cc</a> Villages.cc, Ripple-powered community economy<br>
<a href="http://common-lisp.net/project/armedbear" target="_blank">http://common-lisp.net/project/armedbear</a> ABCL, Common Lisp on the JVM<br><a href="http://code.google.com/p/tapulli" target="_blank">http://code.google.com/p/tapulli</a> my current open source projects<br>
<a href="http://www.manydesigns.com/" target="_blank">http://www.manydesigns.com/</a> ManyDesigns Portofino, open source model-driven Java web application framework
</div></div>