[ANN] Slowly testing Nile in the image
stephane ducasse
stephane.ducasse at free.fr
Fri Jul 27 19:01:16 UTC 2007
Damien
could you identify what is not available in Nile to perform such change?
I guess that the fileout and other friends can have a problem.
Each time I look at FileStream and others I think how nice is Nile.
Stef
On 27 juil. 07, at 14:44, Damien Cassou wrote:
> Hi,
>
> I've started replacing the Stream hierarchy by Nile, a complete
> reimplementation based on traits.
>
> The process I'm following is:
>
> 1) change SequenceableCollection>>readStream from:
>
> readStream
> ^ ReadStream on: self
>
> to:
>
> SequenceableCollection>>readStream
> ^ self nsReadStream
>
> #nsReadStream returns a Nile stream.
>
>
> 2) then, rewrite all methods which contain
>
> ... ReadStream on: @Expression...
>
> to
>
> ... @Expression readStream...
>
> To do this, I use ParseTreeRewriter.
>
>
> I have already changed Kernel, KernelTests, Collections,
> CollectionTests. All the tests passes.
>
> --
> Damien Cassou
>
>
More information about the Squeak-dev
mailing list
|