Skip to main content

Lua

Lua 5

Source: http://www.lua.org/ftp/lua-5.4.4.tar.gz

Building

Lua is implemented in pure ANSI C and compiles unmodified in all platforms that have an ANSI C compiler. Lua also compiles cleanly as C++.

Lua is very easy to build and install. There are detailed instructions in the package but here is a simple terminal session that downloads the current release of Lua and builds it in Linux:

detailed instructions: http://www.lua.org/manual/5.4/readme.html

curl -R -O http://www.lua.org/ftp/lua-5.4.4.tar.gz
tar zxf lua-5.4.4.tar.gz
cd lua-5.4.4
make all test

If you have trouble building Lua, read the FAQ. If you don't have the time or the inclination to compile Lua yourself, get a binary or try the live demo.

read the FAQ: http://www.lua.org/faq.html#1.1

get a binary: http://luabinaries.sourceforge.net/

live demo: http://www.lua.org/demo.html