[ANN] Slowly testing Nile in the image

Damien Cassou damien.cassou at gmail.com
Fri Jul 27 12:44:39 UTC 2007


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