$ luarocks install apidemo
This is a Lua module that can help you learn how use Lua's C API.
It is run from Lua, but purposefully mimics C style, usage, and behavior.
It's meant to be run from the Lua interpreter to illustrate the effects of
each API call as it's made. It will also work from a standard Lua script.
Versions
Dependencies
lua >= 5.1