[Pharo-project] About FileSystem

Stéphane Ducasse stephane.ducasse at inria.fr
Thu Feb 3 22:08:03 CET 2011

I tried to publish a new configurationOfFilesystem
but after 15 min I stopped because I could not make it load.
For me there is something wrong with the interface of metacello because I can never remember it 
version: '1.0.2' did not load it while it defined as version: #'1.0.2'
and of course I tried string and symobols....

And I got a bug in the decompiler that crashed my image

probably here 
	 [tempVector remoteTemps size = maybeTVTag value size]]] assert]

and so I lost everything...

popIntoTemporaryVariable: offset
	| maybeTVTag tempVector start |
	maybeTVTag := stack last.
	((maybeTVTag isMemberOf: Association)
	 and: [maybeTVTag key == #pushNewArray]) ifTrue:
		[blockStartsToTempVars notNil "implies we were intialized with temp names."
			ifTrue: "Use the provided temps"
				[[(tempVector := tempVars at: offset + 1 ifAbsent: [ParseNode basicNew]) isTemp
							 and: [tempVector isIndirectTempVector
							 and: [tempVector remoteTemps size = maybeTVTag value size]]] assert]
			ifFalse: "Synthesize some remote temps"
				[tempVector := maybeTVTag value.
				 offset + 1 <= tempVars size
						[start := 2.
						 tempVector at: 1 put: (tempVars at: offset + 1)]
						[tempVars := (Array new: offset + 1)
										replaceFrom: 1
										to: tempVars size
										with: tempVars.
						start := 1].
				 start to: tempVector size do:
						at: i
						put: (constructor
								codeTemp: numLocalTemps + offset + i - 1
								named: 't', (tempVarCount + i) printString)].
				tempVars at: offset + 1 put: (constructor codeRemoteTemp: offset + 1 remoteTemps: tempVector)].
		 tempVarCount := tempVarCount + maybeTVTag value size.
		 stack removeLast.
	self pushTemporaryVariable: offset; doStore: statements

On Feb 3, 2011, at 10:43 AM, Stéphane Ducasse wrote:

> Hi guys
> Igor convinced me to publish filesystem into the squeaksource Filesystem so that others people can not feel
> that we are stealing it from colin. Now since we want it as a fondation for the our system, we should invest on it.
> and this is what I'm doing. 
> So here is what I did
> 	- fetched all the versions from colin, lukas, pharotaskforces
> 	- pushed all the versions to squeaksource/Filesystem
> 	- pushed all the versions to pharoTaskForces
> Now I will publish to squeaksource/Filesystem.
> If people want to join this is open and free.
> Stef

More information about the Pharo-project mailing list