Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #188: ..disk or the processor is on fire.


comp / comp.lang.tcl / Bug or feature : "namespace import atlmkkernel::*::*"

SubjectAuthor
o Bug or feature : "namespace import atlmkkernel::*::*"aotto1968

1
Subject: Bug or feature : "namespace import atlmkkernel::*::*"
From: aotto1968
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Tue, 7 Jan 2025 21:14 UTC
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: aotto1968@t-online.de (aotto1968)
Newsgroups: comp.lang.tcl
Subject: Bug or feature : "namespace import atlmkkernel::*::*"
Date: Tue, 7 Jan 2025 22:14:59 +0100
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <vlk5gm$2csbl$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 07 Jan 2025 22:15:02 +0100 (CET)
Injection-Info: dont-email.me; posting-host="2ca3d41b80208cf91a57f00cb907ef71";
logging-data="2519413"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+O5KBgDDwPdvbohcP4lu8Vr4SP0LyNjPw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:02TWSuTN6B5UxYysunxdincWGHo=
Content-Language: en-US
View all headers

Hi,

just some code at starter :

package require atlmkkernel
namespace import atlmkkernel::MkRuntimeC::*
namespace import atlmkkernel::*::*

ends with :

unknown namespace in import pattern "atlmkkernel::*::*"
while executing
"namespace import atlmkkernel::*::*"

-----------------------------------------

analysis :

1) namespace import atlmkkernel::MkRuntimeC::* is valid,

there is a NS in a NS and the last one has some commands defined

2) the problem is that are MORE than one NS exists.

-> the idea was to use:
-> namespace import atlmkkernel::*::*

to import ALL commands from ALL sub-NS of "atlmkkernel"

3) the "atlmkkernel" has NO command defined BUT has:

-> namespace export "Mk*C"

a pattern on all "sub-NS" BUT this seems to be NOT supported

obvious this is NOT working in TCL.
-> the problem is now that I can#t import all commands without writing down ALL NS import
-> commands individual.

just an info

1

rocksolid light 0.9.8
clearnet tor