Lulu Lulu

A simple lua runtime and bundler

rustrust
lualua

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.lua
Run a Project
lulu run main.lua
Bundle Project
lulu bundle main.lua /path/to/main.lulib
Build 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/repo
Manage 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