lua-users home
lua-l archive

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


> My approach, however, is to include the standard Lua interpreter
> itself into bash as a builtin.

This is overkill. Lua was meant to be embeded into application; the standard
interpreter is just an example. To embed Lua into a shell as you want,
just create a Lua state, open some Lua libraries into it and then load
and execute lines read from the user into it. --lhf