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

Luciano Notarfrancesco luchiano at gmail.com
Fri Oct 2 23:40:16 PDT 2020


Hi Gerald,
I’ve been testing ideas for namespaces too, I’m not sure if you’re aware of
this approach:
https://lists.cuis.st/mailman/archives/cuis-dev/2020-June/002064.html

On Sun, 27 Sep 2020 at 6:44 PM, Gerald Klix via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> 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
>
> --
>
> Cuis-dev mailing list
>
> Cuis-dev at lists.cuis.st
>
> https://lists.cuis.st/mailman/listinfo/cuis-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20201003/505bff9c/attachment.htm>


More information about the Cuis-dev mailing list