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