Hi!<br>(Juanjo, excuse me for sending this mail twice, but I forgot to CC the mailing list :-D.)<br><br>Today I succesfully "asdf:load-op"-ed TBNL with ECL. I needed two
minor modifications, both related to the ECL's LOOP implementation.
(BTW I also had this problem while trying to compile the other CL web
servers I found...).
<br><br>The one case was KMRCL's remove-keyword function (kmrcl/lists.lisp):<br><pre><span>(</span><span>defun</span> remove-keyword <span>(</span>key arglist<span><br>)</span><br>  <span>(</span>loop for sublist = arglist then rest until 
<span>(</span><span>null</span> sublist<span>)</span><br>    for <span>(</span>elt arg . rest<br><span>)</span> = sublist<br>    unless <span>(</span><span>eq</span> key elt<span>)</span> <span>append</span> <span>(</span>
<span>list</span><br> elt arg<span>)</span><span>)</span><span></span></pre>I got the following message:<br><font size="1"><span style="font-family: times new roman,serif;">;;; Compiling (DEFUN REMOVE-KEYWORD ...).
</span><br style="font-family: times new roman,serif;"><span style="font-family: times new roman,serif;">Iteration in LOOP follows body code.</span><br style="font-family: times new roman,serif;"><span style="font-family: times new roman,serif;">

Current LOOP context: FOR (ELT ARG . REST) = SUBLIST UNLESS.</span><br style="font-family: times new roman,serif;"><span style="font-family: times new roman,serif;">Broken at MACROEXPAND.</span><br style="font-family: times new roman,serif;">

<span style="font-family: times new roman,serif;">KMRCL>> <br><br></span>So
I made trivial replacement for this functoin and for another one in
tbnl/modlisp.lisp (which won't be used until we port mod_lisp to ECL).
You can see the code here - <a href="http://rsrado.wikispaces.com/TBNL+on+ECL" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://rsrado.wikispaces.com/TBNL+on+ECL</a> .</font><br><font size="1">
<br>In TBNL's documentation is written that it has simple build in web server, so I'll try to use it (haven't tried yet).
<br><br>A second issue, is that asdf:make-build often complains with something like this:<br>:KMRCL is not of type STRING.<br>Broken at ASDF:OPERATE.   <br>I
suppose it don't know how to coerce keywords to strings in system
definitions. When in the ASD file I change :KMRCL to "KMRCL" it
works... But it'a boring taks ;)
<br><br>Regards, <br>Rado</font><br><br><div><span class="gmail_quote">On 5/30/06, <b class="gmail_sendername">Juan Jose Garcia Ripoll</b> <<a href="mailto:lisp@arrakis.es">lisp@arrakis.es</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
AFAIK none of the lisp webservers has yet been ported to ECL. One<br>compelling reason might be that ECL has not something like the<br>serve-event interface from CMUCL/SBCL. OTOH, it should be pretty easy to<br>port mod_lisp to ECL, but I do not know whether this enough for your
<br>purposes.<br><br>Juanjo<br><br><br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.2.2 (GNU/Linux)<br><br>iD8DBQBEfBTtCo7RRoDfLMsRAq+UAJ4ija0OUSE6P2oohb+/iVzWx8cdaACfYHR5<br>ODJA38qVmgCgGcv+WVaWh0U=<br>=C8lH<br>
-----END PGP SIGNATURE-----<br><br><br></blockquote></div><br>