This is me reporting back. The first three bugs are fixed, but the last remains:

(defun blah ()
  (or (foo) (progn (bar) nil)))

=>

function blah() {
    return foo() || (bar());
};

The final clause should be (bar(),null), I think.

A nice side effect of this thread is its spurring me to (attempt to)
upgrade to the latest PS. I'm running into some problems, which
I'll report separately.

Daniel



On Mon, Dec 6, 2010 at 12:37 AM, Daniel Gackle <danielgackle@gmail.com> wrote:
I'll do so and report back. Sorry for the apparent false alarm.


On Mon, Dec 6, 2010 at 12:29 AM, Vladimir Sedach <vsedach@gmail.com> wrote:
Check your local copy, what's in the repository right now works fine.

Vladimir

2010/12/6 Daniel Gackle <danielgackle@gmail.com>:
> Here are four problematic expressions.
> ;; crashes
> (defun foo ()
>   (let ((a (bar)))))
> ;; syntax err
> (defun foo ()
>   (let* ((a (bar)))))
> ;; returns nil
> (defun foo () "bar")
> ;; doesn't return nil
> (defun blah ()
>   (or (foo) (progn (bar) nil)))
> _______________________________________________
> 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