Directory bug on Windows

Brian Rice water at tunes.org
Fri May 20 14:09:42 PDT 2005


As the README says, when you download a Slate distro, run "make get- 
alpha" to get the proper images. Using alpha itself will just get you  
the recorded image, and it wastes quite a bit of space for us to  
store every image pair in version history.

On May 20, 2005, at 1:51 PM, Bryn Keller wrote:

> Okay, thanks. I haven't been able to get the alpha image working  
> yet - here's what happens:
>
> C:\lang\src\slate\alpha>wvm little.image
> Bootstrapping libraries... (this may take a while. Save the image  
> when done).
> Slate: Growing heap to 4838008 bytes.
> Performing post-bootstrap actions...
> Loading 'src/mobius/syntax/quote.slate'
> Loading 'src/mobius/syntax/cascade.slate'
> Loading 'src/lib/macro.slate'
> Loading 'src/lib/numericMixin.slate'
> Loading 'src/lib/tuple.slate'
> Loading 'src/lib/linkedlist.slate'
> Loading 'src/lib/cord.slate'
> Loading 'src/lib/path.slate'
> Loading 'src/lib/queue.slate'
> Loading 'src/lib/buffer.slate'
> Loading 'src/lib/inspect.slate'
> You are in a twisty little maze of objects, all alike.
> Loading 'src/lib/directory.slate'
> Loading 'src/lib/module.slate'
> Slate: Growing heap to 9032312 bytes.
> Slate: Growing heap to 13226616 bytes.
> Slate: Growing heap to 17420920 bytes.
> Slate: Attempted to grow heap beyond limits
>
>
> When I paste the code into my 3.3 image, I get:
>
>
> Slate 3> c@(Sequence traits) indexOfSubSeq: subSeq startingAt:  
> start ifAbsent:
> block
> [| first index |
>  subSeq isEmpty ifTrue: [^ block do].
>  subSeq size = 1 ifTrue: [^ (c indexOf: subSeq first startingAt:   
> start ifAbsen
> t: block)].
>  first: subSeq first.
>  start upTo: c size - subSeq size do: [| :startIndex |
>    (c at: startIndex) = first ifTrue:
>      [index: 1.
>       [(c at: startIndex + index) = (subSeq at: index)]
>      whileTrue: [index: index + 1.
>              index = subSeq size ifTrue: [^ startIndex]]]].
>  block do
> ].
> [indexOfSubSeq:startingAt:ifAbsent:]
> Slate 4> Image saveNamed: 'fixed.slate' .
> Slate: Growing heap to 10727976 bytes.
> Slate: Growing heap to 14922280 bytes.
> Slate: Attempted to grow heap beyond limits
>
> Thanks,
>
> Bryn

Yeah, it was a bit of a long-shot to get that to work. Use the alpha,  
and run the makefile rule, and then try it.




More information about the Slate mailing list