Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.23 KB

File metadata and controls

36 lines (22 loc) · 1.23 KB

zluajit - Zig bindings to LuaJIT C API

Documentation

zluajit provides high quality, ergonomic, well documented and type-safe bindings to LuaJIT 5.1/5.2 C API. Supporting other Lua versions is a non goal.

Getting started

See examples to get started embedding LuaJIT in Zig program or build Zig modules that can be imported from Lua.

It is strongly recommended to build programs depending on zluajit using the LLVM backend and the LLD linker (at least for now) or you will encounter unwinding errors.

Building luajit

You can build luajit executable using zig build luajit.

Contributing

If you want to contribute to zluajit to add a feature or improve the code contact me at alexandre@negrel.dev, open an issue or make a pull request.

🌠 Show your support

Please give a ⭐ if this project helped you!

buy me a coffee

📜 License

MIT © Alexandre Negrel