Ok, I'm getting crashes trying to generate JS, but the problem seems like it should be easy to fix:<div><br></div><div>This form generates an error:</div><div><br></div><div> (ps (setf x (* x 1000)))<br><br></div><div>
while this works fine:</div><div><br></div><div> (ps (setf x (* 1000 x)))<br></div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Sun, Apr 18, 2010 at 6:42 PM, Daniel Gackle <span dir="ltr"><<a href="mailto:danielgackle@gmail.com">danielgackle@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'll run a diff on our generated JS tonight and report back.<div><br></div><div>For those of us who are curious, could you talk a bit about the work you did on the compiler?</div>
<div><br></div><div>Thanks Vladimir,</div>
<div>Daniel</div><div><div></div><div class="h5"><div><br><div class="gmail_quote">On Sun, Apr 18, 2010 at 5:34 PM, Vladimir Sedach <span dir="ltr"><<a href="mailto:vsedach@gmail.com" target="_blank">vsedach@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Just pushed a fixed. I also did a bunch of work on the compiler; let<br>
me know if anything else breaks.<br>
<br>
Vladimir<br>
<br>
2010/4/16 Daniel Gackle <<a href="mailto:danielgackle@gmail.com" target="_blank">danielgackle@gmail.com</a>>:<br>
<div><div></div><div>> Good catch! I should have written:<br>
> (ps (let ((abc (@ x abc)))<br>
> (funcall abc)))<br>
> =><br>
> "var abc901 = x.abc;<br>
> abc();"<br>
> I gave the wrong version because we have a customized @ that plays games<br>
> with symbols and keywords. But the above runs in pure PS and is still a bug,<br>
> I would think.<br>
> Daniel<br>
><br>
> On Thu, Apr 15, 2010 at 9:48 PM, Michael Compton<br>
> <<a href="mailto:michael.compton@littleedge.co.uk" target="_blank">michael.compton@littleedge.co.uk</a>> wrote:<br>
>><br>
>> When I run that through I get:<br>
>><br>
>> (ps (let ((abc (@ x :abc)))<br>
>> (funcall abc)))<br>
>><br>
>> =><br>
>><br>
>> "var abc = x['abc'];<br>
>> abc();"<br>
>><br>
>> Are you maybe using an earlier version of PS?<br>
>><br>
>> Michael<br>
>><br>
>> On Wed, 2010-04-14 at 22:04 -0600, Daniel Gackle wrote:<br>
>> > Vladimir,<br>
>> ><br>
>> ><br>
>> > I don't think we heard back about this bug. I've got an ugly<br>
>> > workaround for it in my code, which it would be nice to get out of<br>
>> > there. Do you think it will be hard to fix?<br>
>> ><br>
>> ><br>
>> > Daniel<br>
>> ><br>
>> > On Mon, Mar 29, 2010 at 1:47 PM, Daniel Gackle<br>
>> > <<a href="mailto:danielgackle@gmail.com" target="_blank">danielgackle@gmail.com</a>> wrote:<br>
>> > Just ran across this one:<br>
>> ><br>
>> ><br>
>> > (ps (let ((abc (@ x :abc)))<br>
>> > (funcall abc)))<br>
>> ><br>
>> ><br>
>> > =><br>
>> ><br>
>> ><br>
>> > "var abc901 = x.abc;<br>
>> > abc();"<br>
>> ><br>
>> ><br>
>> > Daniel<br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > parenscript-devel mailing list<br>
>> > <a href="mailto:parenscript-devel@common-lisp.net" target="_blank">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>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> parenscript-devel mailing list<br>
>> <a href="mailto:parenscript-devel@common-lisp.net" target="_blank">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>
><br>
><br>
> _______________________________________________<br>
> parenscript-devel mailing list<br>
> <a href="mailto:parenscript-devel@common-lisp.net" target="_blank">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>
><br>
><br>
<br>
_______________________________________________<br>
parenscript-devel mailing list<br>
<a href="mailto:parenscript-devel@common-lisp.net" target="_blank">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>
</div></div></blockquote></div><br></div>