Is load: 'src/lib/extlib.slate' suppose to work?

Paul Dufresne dufrp at hotmail.com
Fri Jan 14 20:28:39 PST 2005


>1) Slate's lexer now recognizes Floats with variable radixes (bases), so 
>16r0.1 = 0.5 for >example.
I think you meant: 2r0.1 = 0.5, that is (0 * (2 raisedTo: 0)) + (1 * (2 
raisedTo: -1)) =
  0 + .5.
16r0.1 = (0 * 16 raisedTo: 0) + (1 * 16 raisedTo: -1) = 1 / 16
Slate 1> ( 16r4.8 * 3 ). "( (4 * (16 raisedTo: 0) + (8 * (16 raisedTo: -1)) 
) * 3 ) =
  4.5 * 3 =
13.5
Slate 2> ( 16r0.8 ).
0.5


>2) "_@(Number traits) readFrom: s
Slate 3> Integer readFrom: '75'.
75
Slate 4> Float readFrom: '4.56'.
4.56
Nice!

>3) extlib.slate has been removed from the bootstrap. It caused issues since 
>there are >now BigIntegers created for its initialization, which the 
>Bootstrap will not handle (by >design; we don't want entanglement with 
>non-primitives).
Ok but I would expect:
Slate 5> load: 'src/lib/extlib.slate'.
Loading 'src/lib/extlib.slate'
to work. Intead I got:
The following condition was signaled:
The method #C was not found for the following arguments:
{(traitsWindow. prototypes. globals. Mixins. Types. VM. CStruct)}

--Paul Dufresne





More information about the Slate mailing list