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

Gerald Klix cuis.01 at klix.ch
Sun Sep 27 04:44:18 PDT 2020


Hi all, hi Juan,

is there any interest in a simple module or
namespace implementation for Cuis?

I imagine a simple class-name-prefix based approach, that just binds 
exported classes
to shorter names -- usually with the prefix stripped -- in pool 
dictionaries.
Implementing the import machinery will
as simple as automatically adding pool dictionaries to the classes in
the importing module.

Alas even this simple approach would
require some additions to the package
implementation. The module definitions
must be exported, too, and certainly
before the class definitions.


I am looking forward to your feedback,

Gerald


More information about the Cuis-dev mailing list