[parenscript-devel] Reserved keywords as object keys in (create)

Vladimir Sedach vsedach at gmail.com
Sat Jul 25 22:04:32 UTC 2009


That's a good idea. I just pushed out a patch that does that. Thanks
for the suggestion!

Vladimir

On Wed, Jul 8, 2009 at 3:58 AM, Alexey Lebedeff<binarin at binarin.ru> wrote:
>
> (ps (create :default "test")) evaluates to:
>
> { default : 'test' };
>
> It works in Firefox, but Chrome complains about syntax error as the
> 'default' is reserved javascript keyword.
>
> So object keys given as CL keywords must be always converted to
> string (or at least reserved ones).
>
>
>
>
>
>
> _______________________________________________
> 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