Skip to content

A wrapper for Lua written in C++11. Work in progress.

License

Notifications You must be signed in to change notification settings

inzombiak/LuaWrapper

Repository files navigation

LuaWrapper

A wrapper for Lua written in C++11. Work in progress.

As the title says, a mostly bug free Lua wrapper. I've used it in BeatHeroes, Material 2D and LuaRooms

I wrote this following Jeremy Ong's blog posts on his Lua wrapper, Selene. I have no idea why I didn't fork it back then (maybe something to do with the lack of _ENV usage/usage of underscore functions?), but I'll try to get around to doing that at some point.

On issue the library has is that I fully clean the stack after each call to the wrapper to avoid malformed stacks. While this works, and has no bugs, I think each call should be written in a way that it can clean up after itself. I'll try to address this at some point.

TODO

  • Get rid of CleanStack()

About

A wrapper for Lua written in C++11. Work in progress.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages