Luart
Comprehensive Windows framework to develop in Lua

Installation

Download Luart Windows binaries

LuaRT is freeware, released under the Creative Commons License 3.0.

LuaRT 0.9.2 (beta 1) Win32
VirusTotal detection result
Feel free to support LuaRT development

Luart installation

Archive extraction

Extract the content of the archive you just have downloaded to the folder of your choice.

Installation

The recommended way to install Luart is to double-click on install.bat in the extracted folder in the explorer.
Alternatively you can open a "Console" window (or type "cmd.exe" in the execute field in the Start Menu).
Then go to the folder where you have extracted the archive and execute the following command: "install.bat"
	
C:\luart\install.bat
*** LuaRT 0.9 successfully installed ***
			
The installation script is doing all the necessary to create Start Menu shorcuts and Luart file association. Lua files (ending with a « .lua or .wlua » extension) are associated with Luart, so that double clicking on a « .lua or .wlua » file in an explorer window executes it.

Uninstallation

The recommended way to uninstall Luart is to double-click on uninstall.bat in the extracted folder in the explorer.
Alternatively, you can open a "Console" window (or type "cmd.exe" in the execute field in the Start Menu).
Then go to the folder where you have extracted the archive and execute the following command: "uninstall.bat"

Luart from the File explorer

In addition to the command line, you can launch a Lua file directly from the file explorer by double clicking on it. Please note that Files with the extension « .lua » are executed in a console window, and « .wlua » files are executed silently as a Desktop application. In this case, if your program needs to interact with the user, you will need to use the builtin libraries « console » or « ui ».

First execution

To be sure that everything went right during installation, open a Luart command prompt console and type the follwing command :
	
C:\Program Files\Luart\luart examples\hello.wlua
			
Alternatively, you can open an explorer Window and go to the folder where you have installed Luart. Double click on the file "examples\hello.wlua" to execute it. With both methods, you should see a Window with a message : « Hello World ! ».
Luart depends on the MSVCRT.DLL Runtime Library that is commonly available on Windows operating systems. If you use Lua binary modules with the require function, please be sure that they depend on the same Runtime Library and on the same Lua54.dll shared library. Any mismatch could lead to bugs or crash.
   Previous: Documentation Next: Lua compatibility