std.stream replacement

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 17 05:27:39 PDT 2014


On Wed, 16 Apr 2014 12:09:49 -0400, sclytrack <sclytrack at fake.com> wrote:

> On Saturday, 14 December 2013 at 15:16:50 UTC, Jacob Carlborg wrote:
>> On 2013-12-14 15:53, Steven Schveighoffer wrote:
>>
>>> I realize this is really old, and I sort of dropped off the D cliff
>>> because all of a sudden I had 0 extra time.
>>>
>>> But I am going to get back into working on this (if it's still an  
>>> issue,
>>> I still need to peruse the NG completely to see what has happened in  
>>> the
>>> last few months).
>>
>> Yeah, it still need to be replaced. In this case you can have a look at  
>> the review queue to see what's being worked on:
>>
>> http://wiki.dlang.org/Review_Queue
>
>
> SINK, TAP
> ---------
>
>
> https://github.com/schveiguy/phobos/blob/new-io/std/io.d
>
> What about adding a single property named sink or tap depending
> on how you want the chain to be. That could be either a struct or
> a class. Each sink would provide another interface.

Chaining i/o objects is something I have yet to tackle. I have ideas, but  
I'll wait until I have posted some updated code (hopefully soon). I want  
it to work like ranges/unix pipes.

The single most difficult thing is making it drop-in-replacement for  
std.stdio.File. But I'm close...

-Steve


More information about the Digitalmars-d mailing list