lua-users home
lua-l archive

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


Hi,
can't you just open a lua state a startup an then send the strings the
user enters on the console to lus_dostring?You can also write wrappers
for the execution of whole files via lua_dofile with error handling
etc.If you want you scripts to print to the console just write a
cprint function and export it to lua.

Dimitris