> I'm not seeing how this can be useful. If there's no I/O, then how does one get the results of running a program?
Lua is an "embeddable scripting language". The utility of a Lua VM to the host may have nothing to do with its ability to do IO through its stock IO facilities.
Cheers,
V.