[parenscript-devel] Parlez-vous ActionScript?

Henrik Hjelte henrik.hjelte at stix.to
Tue Jun 26 07:13:23 UTC 2007

On 6/25/07, Red Daly <reddaly at gmail.com> wrote:
> If I'm not mistaken, you can now include Javascript with the Parenscript
> form (js-literal "...").  so (js-literal "class Greeter { var saying =
> 'hello, world'; }") emits "class Greater ..." in the Javascript source
> output.

Since a recent patch by Attila  you can simply use quote followed by a
string to embed  literal javascript.

(js:js* '(progn (alert "paren") '"alert('js');"))

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20070626/62230afe/attachment.html>

More information about the parenscript-devel mailing list