[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recursive namespace
From: |
Keisuke Nishida |
Subject: |
Re: Recursive namespace |
Date: |
Tue, 24 Apr 2001 05:40:49 -0400 |
User-agent: |
Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/21.0.102 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
At Tue, 24 Apr 2001 12:50:12 +0900 (JST),
NIIBE Yutaka wrote:
>
> It is not good to confuse/(or mix intentionally) the name space of
> module and the name space of symbol. Even if you introduced '::' for
> module syntax, you would be certainly possible to have separate
> differenet name spaces.
That's certainly possible. I was thinking of a possibility of
unifying those two.
> It is THE PITFALL. It is quite weird for me, because it is _direct_
> contradiction for _YOUR_ purpose (of compiler). I have to say, this
> is bad design for compiler. It introduce nasty things. If we'd
> implement the idea above correctly, it may result: Module can be
> determined at run-time dynamically. Say,
>
> (let ((module (procedure-which-determine-module)))
> (module::func blah blah blah))
In this case, the compiler detects that and produces a run-time lookup.
That's also possible.
> See? I don't think it is good idea. Module should be determined at
> comile time. Please think again. There is no need to use module at
> run time dynamically. There is no reason to mix the symbol space and
> module space. The confusion introduce nasty things.
I agree that modules should be determined at compile time.
What I was questioning was whether I really needed to
distinguish module namespaces from symbol namespaces.
> My points are two:
> Don't use symbol space to implement module space.
> Module should be determined at compile time.
Okay, all systems I know agree with these points. Probably
there are good reasons to do so. I'll follow them.
- Re: Document the current module system?, (continued)
- Document the current module system?, NIIBE Yutaka, 2001/04/19
- Re: Document the current module system?, Martin Grabmueller, 2001/04/19
- Re: Document the current module system?, Rob Browning, 2001/04/20
- Re: Document the current module system?, NIIBE Yutaka, 2001/04/23
- Re: Document the current module system?, NIIBE Yutaka, 2001/04/23
- Re: Document the current module system?, Martin Grabmueller, 2001/04/23
- Recursive namespace, Keisuke Nishida, 2001/04/23
- Recursive namespace, NIIBE Yutaka, 2001/04/23
- Re: Recursive namespace,
Keisuke Nishida <=
- Re: Recursive namespace, Alex Shinn, 2001/04/24
- Interface should be determined at compile time, NIIBE Yutaka, 2001/04/24
- Re: Recursive namespace, Marius Vollmer, 2001/04/29
- Re: Recursive namespace, Martin Grabmueller, 2001/04/24
- Re: Recursive namespace, Keisuke Nishida, 2001/04/24
- Re: Recursive namespace, Rob Browning, 2001/04/24
- Re: Recursive namespace, Keisuke Nishida, 2001/04/24
- Re: Recursive namespace, Rob Browning, 2001/04/24
- Re: Recursive namespace, Keisuke Nishida, 2001/04/24