3.6 "full" packages

Avi Bryant avi at beta4.com
Mon Jul 28 18:13:13 UTC 2003


The stub loader you're talking about here already exists; it's
MCBootstrapLoader.

The one thing that it does that's a little awkward is it loads the entire
file twice - this lets it handle the definitions in whatever order they
come, rather than having to sort them into superclass order.  The second
pass fixes up missing superclasses from the first pass.

On Mon, 28 Jul 2003, Ned Konz wrote:

> I *think* that all we'd have to do is this:
>
> 1. Make a stub .cs with trivial versions of the following that do the
> right thing:
>
> MCClassDefinition>>name:superclassName:category:instVarNames:classVarNames:poolDictionaryNames:classInstVarNames:comment:
> 	define a class
>
> MCPackage>>named:
> 	this one would clear out any prior package contents, so it would deal
> with removals OK
>
> MCVersionInfo>>fromArray:
> 	ignore or save in a global somewhere?
>
> MCMethodDefinition>>className:selector:category:timeStamp:source:
> MCMethodDefinition>>className:classIsMeta:true
> selector:category:timeStamp:source:
> 	define methods
>
> MCOrganizationDefinition>>categories:
> 	define organization



More information about the Squeak-dev mailing list