Commit Graph

3 Commits

Author SHA1 Message Date
Nathan Craddock
1188fe6466
rename LICENSE -> license
I just like lowercase better :)
2022-05-31 21:08:16 -06:00
Nathan Craddock
6e178770c1
add standard library opening functions
Exposes the luaopen_* and luaL_openlibs. Also adds a Ziggified wrapper
function that takes a packed struct as input to specify which libs to
load.

After looking at rlua (a rust lua library) and the lua reference manual,
it seems that these library loading functions have the possibility of
failure. Not sure how to address this yet, but have left a todo.
2022-05-31 20:04:13 -06:00
Nathan Craddock
aa686e39a4
initial commit: basic library framework
This first commit includes the LICENSE and the .gitignore in addition to
the beginnings of the zlua (name tbd) library.

At this stage src/zlua.zig contains a very basic wrapper around the Lua
C API. The goal is to expose every function in a Zig fashion.

The build.zig script contains a single entry point `zig build test` to
run tests.

The intended use of this library will be to include in other projects
and link as a package/library.
2022-05-31 19:09:27 -06:00