Welcome to LuaClassLib’s documentation!#
Introduction#
LuaClassLib is a small C library providing Moonscript-compatible class support to C applications.
It consists of two main components: luaclasslib.h
, which provides class support functions independently of Moonscript,
and moonauxlib.h
, which requires Moonscript to be available.
Installation#
LCL is available on the Arch User Repository:
$ yay -S luaclasslib
Otherwise, the library can be built from source. For Linux systems with Lua installed:
$ git clone --recurse-submodules https://github.com/mousebyte/LuaClassLib.git
$ mkdir build && cd build
$ cmake .. -DCMAKE_BUILD_TYPE=Release
$ make && sudo make install