Sounds interesting. Just a quick note: if I recall correctly, the "with" statement is notorious for being slow in JS implementations. Something to watch out for.<br><br><div class="gmail_quote">On Sat, Feb 27, 2010 at 2:15 PM, Vladimir Sedach <span dir="ltr"><<a href="mailto:vsedach@gmail.com">vsedach@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">> I nominate backquote/comma. At least at a 50,000 foot level, it seems like<br>
> the sort of thing PS could do, and it's pretty obvious that it would be<br>
> useful.<br>
<br>
</div>That's a really cool idea.<br>
<br>
The only two new features I have on the todo list right now are:<br>
<br>
1. Use the 'with' statement to introduce proper scoping for closures.<br>
2. Generalize the implicit return code transformation to work with<br>
assignment and arguments passed to functions.<br>
<br>
These are both ideas borrowed from the scm2js compiler<br>
(<a href="http://hop.inria.fr/usr/local/lib/hop/2.0.0/weblets/home/articles/scheme2js/article.html" target="_blank">http://hop.inria.fr/usr/local/lib/hop/2.0.0/weblets/home/articles/scheme2js/article.html</a>).<br>
<br>
There are tons of CL features and functions that can be implemented,<br>
but my plan is to only add new features by request. My plan for the<br>
next release is mainly to refactor the compiler, and split off the<br>
print subsystem into the JS-toolkit project (which will also include a<br>
JS parser).<br>
<br>
Vladimir<br>
<br>
> Daniel<br>
><br>
> _______________________________________________<br>
> parenscript-devel mailing list<br>
> <a href="mailto:parenscript-devel@common-lisp.net">parenscript-devel@common-lisp.net</a><br>
> <a href="http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel</a><br>
><br>
><br>
<br>
_______________________________________________<br>
parenscript-devel mailing list<br>
<a href="mailto:parenscript-devel@common-lisp.net">parenscript-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel" target="_blank">http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel</a><br>
</blockquote></div><br>