Directory bug on Windows
Bryn Keller
xoltar at xoltar.org
Fri May 20 14:31:43 PDT 2005
Ah, sorry. May I suggest renaming the command or being a little more
explicit in the README? Since it's called "make get-ALPHA", I assumed it
was just a convenience to save people who only worked in /main the
trouble of pulling the whole /alpha repository as well. Maybe it was a
dumb assumption, but it seems worth a sentence to prevent others from
having the same problem.
Anyway, when I get the new images, clean and rebuild the VM,
bootstrapping just hangs. I know this will last for at least four hours,
since I've gone through this experience already this morning in /main
before I killed it. Bill Sun seems to be having the same problem.
C:\lang\src\slate\alpha>wvm little.image
Bootstrapping libraries... (this may take a while. Save the image when
done).
Slate: Growing heap to 4786844 bytes.
Brian Rice wrote:
> 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