|
> first, use luac to compile it to bytecode > second, make the byte code a C char array and include it into your C file > third. use lua_loadbuffer to load your C string. > and last, use pcall to run it. Or use my srlua: http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#srlua