/zig-luajit-example

Example project building luajit and zig

Primary LanguageZig

zig-luajit-example

Building requires a C-compiler (i.e. cc) and make.

Update dependencies:

git submodule update --init

Create a lua file to execute:

echo "print('hello zig')" > main.lua

Run the executable:

zig build run -- main.lua