Lua Done Easy

Lde is an open-source project providing easy accessibility to a Lua runtime alongside intuitive package management for dependencies.

Download

All in one

Everything you need to write, test, and ship Lua.

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

How does lde compare?

Corrections welcome via pull request.

lde lux luarocks
Written in LuaRustTeal
Project format JSONTOML/LuaLua
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.luarockspecrockspec

Are we fast yet?

Averages over 5 runs on Linux x86-64. Lower is better.

lde0.746sfastest
lx2.950s
luarocks8.251s
Linux x86-64 · 4 cores · avg of 5 runs · latest versionsView source

Learn more

Dive into the docs or read the latest from the blog.