[parenscript-devel] Js macro names can't be used as variable names

Daniel Gackle danielgackle at gmail.com
Fri Jun 15 19:02:21 UTC 2007


Hey,

Are we on? Parenscript is great and I'm hoping this list means we'll see
some active development on it.

Here's an issue to kick things off. Once you define a js macro in
parenscript, you can't use that symbol for anything else. For example,

(js (defvar blah 123))
   => "var blah = 123;"

... which is good, but if you do this:

(defjsmacro blah ()
     `(some-fn))

then the first expression no longer works. That's what I would expect if
blah were a symbol macro, but not a regular macro.

Anyone want to take a crack at this?

Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/parenscript-devel/attachments/20070615/5d90b6ff/attachment.html>


More information about the parenscript-devel mailing list