Release v0.9.1 is out
Lua Done Easy
A package manager, bundled LuaJIT runtime, test runner, and compiler that turns your programs into single executables in < 1mB.
Install latest version
$
curl -fsSL https://lde.sh/install | shEverything included
One tool, all of Lua
Write, test, and ship Lua in a single simple install.
Runtime
LuaJIT built-in, works cross-platform including Windows. Interactive REPL inside your project context.
$ lde ./file.lua Package Manager
LuaRocks compatible. build.lua scripts for preprocessing. Works with LÖVE and other runtimes.
$ lde add <package> Test Runner
Simple and minimal. Ships as lde-test built-in to the lde runtime. Just require("lde-test").
$ lde test Bundler & Compiler
Bundle into a single Lua file or compile to a standalone binary under 1mB. No Lua required on the target machine.
$ lde compile | | 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 | WIP | WIP | ✓ |
| Lua build scripts | build.lua | rockspec | rockspec |
lde Lua
lux Rust
luarocks Teal
lde JSON
lux TOML/Lua
luarocks Lua
lde Yes
lux Yes
luarocks No
lde Yeslde-test
lux Yesbusted
luarocks No
lde Yes
lux No
luarocks No
lde Yes
lux No
luarocks No
lde Yes
lux Yes
luarocks No
lde Yeslde
lux Yesluarocks
luarocks Yesluarocks
lde Yes
lux No
luarocks Yes
lde Yes
lux Yes
luarocks Yes
lde WIP
lux WIP
luarocks Yes
lde build.lua
lux rockspec
luarocks rockspec
Performance
Are we fast yet?
Averages over 5 runs on Linux x86-64. Lower is better.
0.746s
lx
4.0× slower2.950s
luarocks
11.1× slower8.251s
Linux x86-64 · 4 cores · avg of 5 runs · latest versions
View sourceGet started
Ready to dive in?
Read the docs or catch up on the latest from the blog.