[Cuis-dev] [RFC] Modules/Namespaces for Cuis

ken.dickey at whidbey.com ken.dickey at whidbey.com
Thu Oct 1 07:22:51 PDT 2020


On 2020-09-30 12:29, Gerald Klix wrote:
..
> I looked at Ken's design
...

Thanks for looking.  Good to mine ideas from everywhere.  Take the best 
ideas!

> However I do not like Ken's shared pool implementation and the lack of 
> means
> to define classes in environments.

As I noted in the README.md

"Currently, I am using (deprecated) sharedPool, which could be renamed 
to sharedEnvironments."

and

"Class>>bindingOf: looks in that class's sharedPool, so adding the 
Environment to each class removed from Smalltalk uses standard lookup 
semantics and caching."

Part of my goal being to make PackageEnvironments be an optional 
package.


> to define a class in an environment. I this needs a specialized
> ClassBuilder that does the right thing.

Yes.  I need this as well.  Distracted by other things.

"Need to be able to add new Classes to an Environment (Create in 
Browser)."


> *Juan, If I will refactor some classes like ClassBuilder, CodePackage,
> SystemDictionary to make the implementation of environments easier,
> would these changes be accepted into Cuis' core?*

Gerald, I am very interested in your doing this. IMHO the compilation 
environment needs to be generalized to do lookups in other than the 
Smalltalk dictionary (e.g. Environments).

Please keep us up to date on your experiments. As Juan notes, this is 
what Cuis is for (!) -- a place simple and small enough to experiment 
with!

Good on ya,
-KenD



More information about the Cuis-dev mailing list