From: Peter G. <pe...@ar...> - 2004-09-23 19:27:41
|
On Thu, 23 Sep 2004 at 20:44:59 +0200, Andras Simon wrote: > I'd like to add a SlimeInputStream and a SlimeOutputStream to abcl. > They'd eliminate the need for Gray streams for (emacs) slime, and the > various stream related problems with it. (To mention just one, READ > doesn't work at all in a slime buffer.) At the moment, SIS and SOS > are mostly just copied and pasted from StreamInputString and > StreamOutputString, and certainly do have bugs, but are already much > better than the Gray way. You mean StringInputStream and StringOutputStream, right? > What do you think? In particular, would EXT:MAKE-SLIME-INPUT-STREAM > conflict with anything you plan for slime/j? I don't really have any objection, but I'm about to release 0.21.0, so please hold off for a day or so, until you see the 0.21.0 announcement on this list. That said, I do have in mind one day to do a proper re-implementation of streams at the Java level. I think this will be something like either Gray streams or Allegro's simple streams (although maybe not identical to either of those), but I haven't really thought it through yet. There's a mailing list for this subject (streams-standard-discuss at common-lisp.net); I'd prefer to follow some existing (or at least proposed) standard rather than just making it up as I go along, but I'm willing to do the latter if all else fails. (In addition to everything else, ABCL should really support Java's flavor of Unicode, and this isn't possible with the current low-level stream implementation.) In the meantime, we should do whatever is necessary to make slime-for- emacs work well, and I may end up using the slime streams for slime- for-j too, at least in the short term. -Peter |