lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Op Di., 2 Okt. 2018 om 06:11 het Sean Conner <sean@conman.org> geskryf:
>
> It was thus said that the Great Jim once stated:
<troll_alert>
> > there should be also a table "posix" (or "unix" or just "sys") that
> > contains the std posix functions (like chdir, mkdir, setenv and the like)
> > and is a metatable of the "os" table.
> >
> > that "posix" table should also have the metatable "linux" on Linux which
> > should contain Linux-only bindings (similar on freebsd, solaris etc)
</troll_alert>

"there should be" is not an acceptable way of making a dubious
suggestion more plausible.

> There are Lua modules that provide such functionality but I'm guessing you
> want those built into the base Lua distribution.  Roberto and Luis have
> different priorities; if you agree with them, use Lua.  If you don't, don't
> use Lua.

Or have a standard set of patches that moulds your personal Lua
version to your liking.
E.g. on my machine "lua -l lexer=pl.lexer" is legal.

-- Dirk