<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">js:compile-parenscript-file-to-string is not working anymore. i'm getting:<br>The assertion (TYPEP JS::RES 'JS::STATEMENT) failed.
<br> [Condition of type SIMPLE-ERROR]<br><br>This also breaks parenscript-dispatcher. Attila?<br></blockquote><div><br>there's a new keyword argument that controls the evaluation of forms read from the file. previously forms were always evaluated before compilation, but that is the less common case, so when i introduced the :eval-forms-p flag i gave it nil as default. i didn't expect that people are using it, sorry for the lack of warning in the commit log! to have the old behaviour just add :eval-forms-p t to the call.
<br><br>for details:
<a href="http://www.uncommon-web.com/darcsweb/darcsweb.cgi?r=parenscript;a=commitdiff;h=20060707151231-6b9e8-db25863e2848bd55e1e3e80677ff1db0e636ddaa.gz">http://www.uncommon-web.com/darcsweb/darcsweb.cgi?r=parenscript;a=commitdiff;h=20060707151231-6b9e8-db25863e2848bd55e1e3e80677ff1db0e636ddaa.gz
</a><br>
<br>now the dispatcher is a more problematic issue... in the ajax branch i've changed it to pass through all unknown keyword args to js:compile but this patch does not apply to _dev yet due to dependencies. there are two solutions: if your parenscript files are constant (do not have any ,(check some *context* stuff) in them) then simply remove the quote from the top level forms. if it's not possible then apply the relevant parts of the ajax patch (or simply an :eval-forms-p t) on your local repo by hand temporarily.
<br><br>for details:<br><a href="http://www.uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=filediff;h=20060707171855-6b9e8-d680ce0ebac3fc2912ef8dc486f21ff2734bec8d.gz;f=src/rerl/standard-dispatcher.lisp">http://www.uncommon-web.com/darcsweb/darcsweb.cgi?r=ucw_ajax;a=filediff;h=20060707171855-6b9e8-d680ce0ebac3fc2912ef8dc486f21ff2734bec8d.gz;f=src/rerl/standard-dispatcher.lisp
</a> </div></div><br>hth, and sorry for the inconvenience<br><br>-- <br>- attila<br><br>"- The truth is that I've been too considerate, and so became unintentionally cruel...<br> - I understand.<br> - No, you don't understand! We don't speak the same language!"
<br><br>Ingmar Bergman - Smultronstället (Wild Strawberries)