[Etoys] loading application in Etoys image

Ted Kaehler Ted at SqueakLand.org
Wed Jan 2 20:53:56 EST 2008

>Bert Freudenberg wrote:
>  >> I looked at the code and could not see a solution within my grasp. 
>>>  Image
>>>  segments needs references for symbols from the image and the only 
>>>  viable
>  >> way is compiling the classes as far as I can see.

	If I remember correctly, a normal project load (of a .pr 
file) handles this perfectly well.  It does not need to recompile 
classes.  All symbols are in the "Outpointers" table, and are 
resolved to existing or new symbols when the ImageSegment is loaded. 
This is done for each literal frame of each method.  It is just an 
object, afterall.
	Currently, only UniClasses (subclasses of Player) are allowed 
into a project file as objects.  But, we could change this for 
something we wanted to load quickly.
	I assume you want the source code of the new class to be 
appended to the .changes file?  That is what takes the time.  We may 
be able to speed that up, or have these classes be without sources 
(decompiled but with comments).


Ted Kaehler         http://www.squeakland.org/~ted/
(home) 3261 Montecito Drive, Las Vegas, NV 89120.  voice (702) 456-7930
Job applicant: "I have a special talent.  I can read people's minds."
Interviewer: "Then I don't need to tell you why we can't use you..."
from The War Magician by David Fisher.

More information about the Etoys mailing list