LuaRocks.org had a security incident in September 2026. Read the incident report.

A simple Lua dialect and preprocessor

$ luarocks install candran

Candran is a dialect of the Lua 5.5 programming language which compiles to Lua 5.5, Lua 5.4, Lua 5.3, Lua 5.2, LuaJIT and Lua 5.1 compatible code. It adds several useful syntax additions which aims to make Lua faster and easier to write, and a simple preprocessor.
Unlike Moonscript, Candran tries to stay close to the Lua syntax, and existing Lua code should be able to run on Candran unmodified.

Versions

1.1.0-1312 days ago27 downloads
1.0.0-15 years ago510 downloads
0.14.0-15 years ago12 downloads

Dependencies

argparse >= 0.7.0
linenoise >= 0.9
LPegLabel >= 1.5.0
lua >= 5.1
luacheck >= 0.23.0

Labels

Manifests