[parenscript-devel] Looking for examples to pass lisp values into parenscript
Simon Cusack
scusack at fastmail.com.au
Mon Mar 17 22:25:31 UTC 2008
Hi Wout,
On Mon, 17 Mar 2008 23:56:34 +0000
Wout Perquin <hedres at skynet.be> wrote:
> Hi,
> I am looking for examples that show how lisp data can be passed to ps
> scripts. E.g. :
> I would like that
> (let ((x 1))
> (ps:ps (setf y x)))
> is translated into :
> "y = 1;"
> in other words, how do I refer from within a parenscript construct to
> the lisp environment to collect a value ?
> Many thanks,
> -Wout
I use ps:ps* like so;
(let ((x 1))
(ps:ps* `(setf y ,x)))
- sim
More information about the parenscript-devel
mailing list