[parenscript-devel] Re: BUG: cond doesn't generate expressions.

Vladimir Sedach vsedach at gmail.com
Thu Aug 23 21:43:33 UTC 2007


Expression-conds are now in the repository. Among other things, I
discovered that the regular statement cond was actually broken after
my rewrite of the printer, which surprisingly was missed by unit tests
(I've added some to make sure this doesn't happen again). Besides
fixing those two, there are several other little improvements to
output.

Vladimir

On 8/22/07, Vladimir Sedach <vsedach at gmail.com> wrote:
> This bug comes up if you try to do something like (return (cond... A
> quick workaround to this problem if you're using SBCL or Allegro is to
> (import-macros-from-lisp 'cond), since their cond works by expanding
> into nested if forms (this is what we use in our ParenScript
> application, which is why this bug slipped through the cracks for so
> long). The nested-if approach is also how I'm going to fix this
> problem and generate cond-expressions (yeah, this is another one of
> those bug reports that I use as a to-do).
>
> Happy hacking,
> Vladimir
>



More information about the parenscript-devel mailing list