[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: bug in lua.c (Lua-5.0) while embedding the interpreter into bash-2.05
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 9 Mar 2007 09:27:46 -0300
> 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