Skip to content

negrel/zluajit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Zig bindings to LuaJIT C API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published