[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Supports Lua Includefiles?
- From: "Michael T. Richter" <mtr@...>
- Date: Tue, 10 Apr 2001 14:51:12 -0400
-----BEGIN PGP SIGNED MESSAGE-----
> I've written some code for lua 3.2 and lua 4.0 that does this and also
> what require will do. It searches the current directory first, and
> then the environment variable LUA_SCRIPT_PATH. It would be nice if
> this functionality were part of the standard behavior of lua.
I would like to cast a dissenting vote here.
Lua's primary goal is to make a powerful language available to those who
wish to embed one in their products. With every platform-specific feature
you add, you bloat the language for no gain. (Yes, environment variables
and paths are platform-specific. Hell, so are directories for that
One of the reasons that I really like Lua is that it has provided me with a
powerful embeddable language that is both small and fast. I'd rather see
it kept that way. Each idea I've seen mentioned here (for the most part)
has sounded wonderful, but hardly universally applicable. The more
domain-specific material we add, the less useful Lua becomes overall.
Perhaps this is fruitful work for add-on libraries instead of language
Michael T. Richter
"Be seeing you."
-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3
-----END PGP SIGNATURE-----