-
-
Notifications
You must be signed in to change notification settings - Fork 20
InstallNPLRuntime
Paracraft edited this page Mar 1, 2016
·
6 revisions
NPL runtime allows you to run NPL/lua script from command line. such as:
npls hello.lua
NPL runtime is useful for running short CI scripts or background service.
- Download and compile from NPLRuntime source code
The win32 executable of NPL runtime is currently released with the ParacraftSDK. Follow the steps:
- Download and install ParacraftSDK
- Make sure you have updated to the latest version, by running
./redist/paracraft.exe
at least once - Run
./NPLRuntime/install.bat
- More information, please see NPL Runtime readme
npls hello.lua
NPL.load("(gl)script/ide/System/System.lua");
local output = System.os("dir *.lua");
echo(output); -- output to log.txt
--io.write(output); -- output to std output
exit(1); -- return code
NPL/Lua Code Editor for Visual Studio
-
NPL/Lua language service for visual studio: used by thousands of developers worldwide.
- Download Source code
-
NPL Debugger for visual studio: set break points and attach to running NPL process.
- Download Source code
- NPL/ParaEngine Tools for visual studio: misc tools
Download ParaCraft | NPL project | copyright by tatfook 2016