[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: global environment special case
- From: "Russell Y. Webb" <rw20@...>
- Date: Tue, 18 Apr 2000 23:25:31 -0700
Sounds like a great idea to me --- I've wondered the same thing.
>Since the table data type is used so effectively to keep Lua simple and
>powerful, it made me wonder why use of tables wasn't extended as far as the
>global environment. In other words why does a programmer implementing
>extensions have to treat the global environment as a special case?
>The solution I'm thinking about is to keep current Lua semantics intact, but
>remove all the global operations (listed below) from the language. Then add
>just one function to get a global table value, say globaltable().