[Ecls-list] ECL web server
rsdevelop at gmail.com
Sat Jun 3 11:41:40 UTC 2006
(Juanjo, excuse me for sending this mail twice, but I forgot to CC the
mailing list :-D.)
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
The one case was KMRCL's remove-keyword function (kmrcl/lists.lisp):
(defun remove-keyword (key arglist
(loop for sublist = arglist then rest until (null sublist)
for (elt arg . rest
) = sublist
unless (eq key elt) append (list
I got the following message:
;;; Compiling (DEFUN REMOVE-KEYWORD ...).
Iteration in LOOP follows body code.
Current LOOP context: FOR (ELT ARG . REST) = SUBLIST UNLESS.
Broken at MACROEXPAND.
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 - http://rsrado.wikispaces.com/TBNL+on+ECL .
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).
A second issue, is that asdf:make-build often complains with something like
:KMRCL is not of type STRING.
Broken at ASDF:OPERATE.
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 ;)
On 5/30/06, Juan Jose Garcia Ripoll <lisp at arrakis.es> wrote:
> AFAIK none of the lisp webservers has yet been ported to ECL. One
> compelling reason might be that ECL has not something like the
> serve-event interface from CMUCL/SBCL. OTOH, it should be pretty easy to
> port mod_lisp to ECL, but I do not know whether this enough for your
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v184.108.40.206 (GNU/Linux)
> -----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ecl-devel