Hi,
(NOTE: Download Release 3! Release 1 is a bare bones Lua install with no LuaRocks).
The WinLua installer is a Windows binary release of the latest available Lua, plus a smattering of external tools to help developers write Lua scripts and Lua modules. WinLua Release 3 includes:
- Lua 5.3.5 patched with the DevCat Studios OP_HALT patch variant. The patch can be used in conjunction with Visual Studio Code and the DevCat debugger for an improved debugging experience. Special thanks to DevCat Studios,
Seungjae Lee
and Dan Tull.
- LuaFileSystem - Included in the base package for convenience.[1]
- LuaRocks 3.2.1 - LuaRocks is the de-facto package manager for Lua and provides a means for building and installing Lua modules.
- Sol2 3.20.0 - Sol2 is a header only C++ library for integrating Lua into C++ applications
- JamPlus - A build system that can be used to write build scripts in Lua.
The new installer is possible thanks to the work of the LuaRocks team creating a single LuaRocks (and admin) executable. I've hacked the configuration script out of the LuaRocks install.bat file and use it to configure LuaRocks during installation. Thank you LuaRocks team!
The README.md file provides information on installing a compiler - the FREE VC++ toolchain - and configuring PowerShell to use the appropriate Environment Variables for said VC++ tools. Also, WinLua targets Windows 10. Though the VC++ redist is available (and noted in the readme) I am not supporting issues related to running on Windows 8 or 7.
Finally: Please note this is an ALPHA release and will likely have issues. It's been tested on a whopping 2 computers. Any and all feedback is welcome here on on the GitHub site.
Merry Christmastide and a Happy New Year!
Russell
[1]
Note: Using LuaRocks will pull in another version of LFS for use with the Rocks. LuaRocks pulling in LFS in no way affects WinLua at the moment, though I am unsure which library is actually being used when calling `require()`.