zig-lua icon indicating copy to clipboard operation
zig-lua copied to clipboard

zig interfacing with lua example

Example of embedding the lua interpreter in a zig program.

Some things that would be cool to do:

  • get translate-c parsing all the macros in the header files correctly
  • longjmp error handling example case
  • get zligc far enough along to avoid needing to pull in the libc dependency.

Build

zig build