|
On 3/9/07, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> 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
I don't know about overkill but it's so easy; I can't resist ;-) Wei