Simple library to wrap multiple Lua runtimes (Lua, LuaJIT, Luau). Mainly created for LiteFX. Written in C11, mordern C code.
- Multiple Lua dialects are supported, included runtime: Lua, LuaJIT, Luau.
- Prebuilt Lua runtimes to help faster integrate to existing C/C++ projects. Merge multi library files to single one.
- Easy add extensions. This library also have Lua52, Lua53 extensions already for LuaJIT.
- Quality of tools: Debugging, Profiler.
- One place of all runtime docs to work with Lua runtime.
- No changes in the Lua C API code.
- Easy bindings to other languages.
- Out of scope features: OOP/C++ class bindings. But you can use existing project like Sol with LiteLua.
- (Considering) Using Luau with C without compile C code in .cpp files.
- One simple API to work lua bindings. Easy embedding to exist projects.
- Focused on simplicity, low files.
- Written in C11, modern C code, good and easy custom io/memory management.
- Focused on the runtime parts, not the C API.
- Focused on simple, well-docs functions, clear names. And keep its low.
- Only functions that need wrapper are made, otherwise use common functions (Luau and Lua have many common C API).
Currently only work on Windows. Because Mai Lite Editor focused to using on Windows (Game developer).
When building completed, result contains in output folder, the library file have already packed with runtime.
No need to build your application with Lua runtime library.
- Build LuaJIT:
scripts/build_litelua_luajit.bat/scripts/build_litelua_luajit.sh - Build Luau:
scripts/build_litelua_luau.bat/scripts/build_litelua_luau.sh
- LiteFX (Backbone of Mai Lite Editor)
- Raylib Luau bindings
- BeefyMoon library for working with Lua on Beef applications
Find in libs folders.
- Version: v0.0.2-dev
- License: Unlicense
- Copyright: MaiHD @ 2025