I'm getting started with Lua to write a simple scrip to edit all *.txt in a
directory (eg. for file in glob("*.txt") do…). Apparently, this is not
possible with basic Lua, and requires installing a module.
c:\temp\lua>luarocks install luafilesystem
Warning: Could not find Lua 5.3 in PATH.
Modules may not install with the correct configurations. You may want to
specify the path prefix to your build of Lua 5.3 using --lua-dir
Error: Failed finding Lua library. You may need to configure LUA_LIBDIR.
I'm also not clear at the difference between Lua, LuaRocks, and LuaDist.
Is there a tutorial on how to get a basic Lua + Luarocks system up and