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

Vladimir Sedach vsedach at gmail.com
Tue Jun 26 19:36:33 UTC 2007


Fixed. See today's patch from me in darcs.

On 6/15/07, Daniel Gackle <danielgackle at 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 at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>
>



More information about the parenscript-devel mailing list