[parenscript-devel] Js macro names can't be used as variable names
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
Fixed. See today's patch from me in darcs. On 6/15/07, Daniel Gackle <danielgackle@gmail.com> wrote:
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
_______________________________________________ parenscript-devel mailing list parenscript-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
participants (2)
-
Daniel Gackle
-
Vladimir Sedach