LuaJIT is a Just-In-Time Compiler (JIT) for the Lua programming language. Lua is a powerful, dynamic and light-weight programming language. It may be embedded or used as a general-purpose, stand-alone language.
Installing LuaJIT on your Tizen device is very easy, clone the LuaJIT repository, switch to the newest created directory, run make
and make install
.
$ git clone http://luajit.org/git/luajit-2.0.git
$ luajit-2.0
$ make
$ sudo make install
If you want to follow the 2.1
development branch, switch to it after cloning the repo, otherwise use the stable 2.0
branch (master branch).
$ git checkout v2.1
Test if everything works as expected:
$ luajit -be "print('hello world')" test.out
\