Hi all,<div><br></div><div>After a night's sleep, I found the problem in ABCL this morning: the LET operator expression definer has a function called VAR, which is also a macro. This confuses ABCL. We'll fix that. Parenscript will compile nicely after that.</div>
<div><br></div><div>The point that the VAR macro may expand to non-conforming code remains, however.</div><div><br></div><div>Bye,</div><div><br></div><div><br></div><div>Erik.<br><br><div class="gmail_quote">On Sat, Aug 20, 2011 at 10:00 PM, Erik Huelsmann <span dir="ltr"><<a href="mailto:ehuels@gmail.com">ehuels@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<div><br></div><div>This week, Alessio Stalla and I are trying to get Parenscript to compile on ABCL. We're using Parenscript 2.3 as distributed with Quicklisp.</div>
<div><br></div><div>Parenscript 2.2 worked fine, after fixing a potential readtables issue. However, Parenscript 2.3 fails compilation during the compilation of the (DEFINE-EXPRESSION-OPERATOR LET # ...) toplevel form.</div>

<div><br></div><div>The problem is that it generates an expression (VAR X), which is then expanded to (DEFPARAMETER X). However, that's non-conforming because the initial value is required according to the CLHS. Looking at the definition of the VAR macro, I see the problem:</div>

<div><br></div><div>(defmacro VAR (name &optional value docstring)</div><div>  `(defparameter ,name ,@(when value (list value)) ...))</div><div><br></div><div>can indeed lead to a (DEFPAMETER X)</div><div><br></div><div>

<br></div><div>I haven't found out if/why this isn't a problem on Parenscript 2.2 or why Parenscript 2.3 would cleanly compile on SBCL, because - like ABCL - it rejects forms like that.</div><div><br></div><div><br>

</div><div>If it is ABCL that's broken here, could you help us fix it? If not, could you fix parenscript to work on ABCL?</div><div><br></div><div>I'm eager to learn about your analysis of the situation. If you need help on settin up ABCL, I'll gladly provide it.</div>

<div><br></div><div><br></div><div>Bye,</div><div><br></div><font color="#888888"><div>Erik</div>
</font></blockquote></div><br></div>