[Ecls-list] gray-stream support
David_Creelman at pa.com.au
David_Creelman at pa.com.au
Tue May 6 03:20:14 UTC 2008
ecls-list-bounces at lists.sourceforge.net wrote on 06/05/2008 01:00:04 PM:
> Sorry to wake this back up, but trivial-gray-streams needs to make
> stream-element-type, open-stream-p and close be generic functions.
>
> Right now, I'm doing this:
>
> (setf (fdefinition 'close) #'gray:close)
> (setf (fdefinition 'stream-element-type) #'gray:stream-element-type)
> (setf (fdefinition 'open-stream-p) #'gray:open-stream-p)
Woo Hoo from the newbies !!!
I was trying to get hunchentoot going on my laptop over the last few days.
I got as far as this issue too.
So, if I read this right, this will mean that hunchentoot will load with
ECL now?
It probably won't serve up pages yet. Anywhere I can help, please let me
know (newbie tasks preffered).
Cheers
DC
PS Should note that I've managed to get the following going nicely in ECL.
cl-vecto
cl-pdf (need to turn off zlib compression for easy fix, but this can be
fixed longer term)
cl-typesetting
PAIP's prolog interpreter/compiler.
Have played with cl-rucksack, but there is a fair bit of work needed there
I think.
Have also played with asdf-install, but there are problems reloading after
a
compile. I might put these issues on the list.
>
> which is pretty similar to what SBCL does when loading sb-gray. It at
> least makes it possible to build all of hunchentoot's dependencies.
>
> I'm not sure what the right way to resolve this is.
>
> On Tue, Dec 25, 2007 at 9:19 PM, Anton Vodonosov <avodonosov at yandex.ru>
wrote:
> >
> > "Juan Jose Garcia-Ripoll" <jjgarcia at users.sourceforge.net> writes:
> >
> >
> > > On Dec 25, 2007 10:28 AM, Brian Spilsbury <brian.
> spilsbury at gmail.com> wrote:
> > >> Hello,
> > >>
> > >> While gray-streams seem to be basically supported, there are a
couple
> > >> of problems.
> > >>
> > >> STREAM-ELEMENT-TYPE and CLOSE should be generic functions.
> > >
> > > Not such a big issue. I will take note and add it as soon as I can
--
> > > which is not now, since I am busy testing current CVS tree.
> > >
> >
> > Also OPEN-STREAM-P doens't work. Test case:
> >
> > (defclass slime-input-stream
> > ;; one colon doesn't work; symbol isn't exported?
> > (ext::fundamental-character-input-stream) ())
> > (setf s (make-instance 'slime-input-stream))
> > (open-stream-p s)
> > ;; at this point error is signaled:
> > ;; #<a SLIME-INPUT-STREAM> is not of type STREAM..
> >
> > Just guessing from souce, it may be fixed by adding
> > something like this in the begining of the cl_open_stream_p
> > function (src/c/file.d):
> >
> > #ifdef ECL_CLOS_STREAMS
> > if (type_of(strm) == t_instance)
> > return funcall(2, @'ext::stream-open-p, strm);
> > #endif
> >
> > Sorry, I'm not testing the fix, it's almost 3 a.m. here.
> >
> > Best regards,
> > -Anton
> >
> >
-------------------------------------------------------------------------
> >
> >
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Ecls-list mailing list
> > Ecls-list at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/ecls-list
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save $100.
> Use priority code J8TL2D2.
>
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Ecls-list mailing list
> Ecls-list at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ecls-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20080506/d4fbada6/attachment.html>
More information about the ecl-devel
mailing list