User Tools

Site Tools


Sidebar



lua

Lua

Sample code

Doodle3D publish-wifibox-release.lua "This script requires the Penlight library"

export LUA_CPATH=/opt/local/share/luarocks/lib/lua/5.2/?.so
export LUA_PATH=/opt/local/share/luarocks/share/lua/5.2/?.lua

use the luarocks package manager to install a package / library

sudo luarocks install luasocket

where are the LUA packages / libraries

print(package.path.."\n"..package.cpath)

Luv it

Nodejs maar dan voor lua

lua.txt · Last modified: 2015/09/28 22:01 by rick