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

Brian Rice water at tunes.org
Sat Jan 15 00:11:38 PST 2005


On Jan 14, 2005, at 8:28 PM, Paul Dufresne wrote:

>> 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

Er, yeah, that's what I meant. :-)

>> 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)}

That's a recent addition which was what prompted the removal from the 
base image. I should have checked and mentioned it. The CStruct 
functionality could be separated into a Mobius-dependent library. 
Probably this is another sign that a dependency manager for loading 
(using provides:/requires: and a mini-database) is necessary for 
further growth.

--
Brian T. Rice
LOGOS Research and Development
http://tunes.org/~water/




More information about the Slate mailing list