Lde is an open-source project providing easy accessibility to a Lua runtime alongside intuitive package management for dependencies.
curl -fsSL https://lde.sh/install | shEverything you need to write, test, and ship Lua.
lde repl for interactive Lua
inside your project context
$ lde ./file.lua build.lua scripts for seamless
preprocessing
$ lde install lde-test lde test $ lde test lde bundle to combine project
and deps into a single Lua file
lde compile to produce a standalone
binary under 1mB
$ lde compile Corrections welcome via pull request.
| lux | luarocks | ||
|---|---|---|---|
| Written in | Lua | Rust | Teal |
| Project format | JSON | TOML/Lua | Lua |
| Add/remove deps | ✓ | ✓ | ✗ |
| Built-in test runner | ✓ (lde-test) | ✓ (busted) | ✗ |
| Ships with LuaJIT | ✓ | ✗ | ✗ |
| Compile to executable | ✓ | ✗ | ✗ |
| Git deps | ✓ | ✓ | ✗ |
| Registry deps | ✓ (lde) | ✓ (luarocks) | ✓ (luarocks) |
| Custom Registry | ✓ | ✗ | ✓ |
| Lockfile | ✓ | ✓ | ✓ |
| LuaRocks support | ⚠ | ⚠ | ✓ |
| Lua build scripts | build.lua | rockspec | rockspec |
Dive into the docs or read the latest from the blog.