[parenscript-devel] Conditional nesting of lisp and javascript code

Slobodan Milnović slobodan.milnovic at gmail.com
Mon May 16 11:13:33 UTC 2011


2011/5/16 Theam Yong Chew <senatorzergling at gmail.com>:
> I can only think of this alternative:
>
> (defpsmacro conditional-splice (test &body body)
>  (when test
>    `(progn , at body)))
>
> Using an older parenscript, because I don't have HEAD handy
> (though I don't think it matters much, and you still get the
> general idea):

Actually, this is exactly what I need, thanks.

I thought about "interactive changing" of the debug and production
mode, but, since I'm using weblocks, I have to reset session anyway to
see the effects.




More information about the parenscript-devel mailing list