Lulu
A simple lua runtime and bundler
Contributors
Overview
Lulu
A magical Lua runtime that bundles code, resolves dependencies, and builds final executables.
Features
Lua Runtime
Execute Lua scripts with precision.
Runtime
Code Bundler
Bundle multiple Lua files into a single
.lulib.Bundler
Dependency Resolver
Resolve Lua module requirements automatically.
Dependencies
Executable Builder
Create standalone executables from your Lua projects.
Build
Usage
Run a Single File
lulu run single.luaRun a Project
lulu run main.luaBundle Project
lulu bundle main.lua /path/to/main.lulibBuild Executable
lulu build /path/to/project
# or
lulu build # means lulu build .Dependencies
Resolve Dependencies
Fetch and cache dependencies from URLs or Git repositories.
lulu resolve .
lulu resolve github:user/repoManage Cache
# List all cached packages
lulu cache list
# Clear cache
lulu cache clear
# Remove a specific package
lulu cache remove <package_url>TODO
Runtime based on luajitSimple APIsLua bytecode bufferModule resolver from bufferBundler into ".lulib" or executableCurrent path resolverDownloading lulib from paths & GitHubBuilding Lua projects & GitHub reposCachesMacros & BuiltinsExport MacrosBasic TestingPackager for Windows, Linux, macOSTesting framework integrationAdditional FFI featuresLuaRocks integration