Lua4Win
+Lua4Win is a distribution the Lua programming language for Windows.
+Lua4Win is a distribution the Lua programming language for Windows.
+Install
+You can install it by using the .msi file here.
DownloadRational
Unlike alternative distributions, Lua4Win comes with the Luarocks package manager and is a "batteries-not-included" distribution of Lua. Binary packages are built in the cloud and can be downloaded as-needed. The Lua4Win installer contains a copy of LuaJIT, Luarocks, Busybox, and 7zip; which allows it to come in at a slim 2MB. Updates and bugfixes can be done piecemeal instead of requireing new copies of the whole distribution every time a bug gets fixed.
Run lua --help
for more options for the command line tool, and the Lua Manual for extensive documentation of the Lua programming language. Also note LuaJIT's extensions
Installing Superpowers
You can use modules that implement more than the standard lua libraries by running the $ luarocks install >module name<
command to download and install modules.
Run luarocks --help
for more options on the command line tool, and the Luarocks wiki for more extensive documentation.
Sister languages
Lua4Win makes it easy to download other programming languages that are distributed through the luarocks
package manager. Simply luarocks install
them like you would any other package.
Moonscript
@@ -97,7 +108,7 @@ with World! \greet!$ moonscript example.moon
+$ moon example.moon
Hello, world!
$ tl keys.tl
+ $ tl run keys.tl
ab
Advanced Usage
-Lua4Win allows you to install system-wide packages with the
--tree system
flag, these packages will be located at [INSTALLDIR]/luarocks
. You may need to be running as an administratior to install to this location.