Headless Stripper

Jon Hylands jon at huv.com
Sun Aug 26 17:41:25 UTC 2001


(Sounds vaguely obscene :-)

So, I've been working on building a headless stripper that runs in headless
mode on a majorShrunk image, and strips out all the classes relating to
MVC, graphics, tools, etc.

It works pretty well, except for the fact that the image it saves is
actually larger than what it started with. I assume there must be a large
number of objects left lying around, but its kind of hard to look in the
image given that there are no tools left. What I do now is, after
stripping, I generate a test report file that dumps the contents of
Smalltalk. All the classes are gone from there, I've cleaned out
Undeclared, and removed all non-essential globals.

I'm going to spend some more time looking, but I'd appreciate it if anyone
has any ideas of where to look can give me some pointers...

Later,
Jon

--------------------------------------------------------------
   Jon Hylands      Jon at huv.com      http://www.huv.com/jon

  Project: Micro Seeker (Micro Autonomous Underwater Vehicle)
           http://www.huv.com




More information about the Squeak-dev mailing list