[ANN] SIXX 0.2b is now available on all Smalltalk dialects
Yoshiki Ohshima
yoshiki at squeakland.org
Wed May 2 18:27:25 UTC 2007
Hello,
I did a little experiment with SIXX 0.2b (thank you, Umezawa-san!)
and found a few problems around Fraction, and also more lower-level
problem with storeString/readFrom: pair on Fraction and Complex.
First, the following raises either ends up with an error (in a 3.8
based image) or wrong result (in 3.9):
Fraction readFromString: (10/11) storeString.
"or Number readFromString: (10/11) storeString."
writing and reading via SIXX doesn't work.
For a Complex number, SIXX work because it scans the internal
structure of the number, but still the following doesn't work:
Fraction readFromString: (1+2i) storeString.
The following:
Object readFromString: (10/11) storeString.
works, but I'd rather avoid using #evaluate: (I think there was some
discussion around it before) to read an interchangeable file.
Any thoughts?
(BTW, I'm writing a "variant" of SIXX called SISS, that files out
objects in S-expressions. Other than the syntax, SISS produces more
"flat"-structured elements to help post processing and analysis. That
is (getting) available in the OLPC image so please take a look at it
if you're interested in.)
-- Yoshiki
More information about the Squeak-dev
mailing list
|