Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 578 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 578 Bytes

Yk-enabled Lua

This is the reference Lua interpreter with the Yk JIT retrofitted.

This is experimental!

Building

GNU make is required.

Run:

export PATH=/path/to/yk/bin:${PATH} # local path to https://github.com/ykjit/yk/blob/master/bin/yk-config (yk needs to be compiled)
export YK_BUILD_TYPE=<debug|release>
make

Runinng

./src/lua -e "print('Hello World')" # execute program passed in as string
./src/lua ./tests/utf8.lua # execute lua program file 
./src/luac ./tests/utf8.lua -o ./utf8.out # translates lua programs into Lua bytecode