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

luamacro

A macro preprocessor for Lua

$ luarocks install luamacro

Provides intelligent lexical macros that can be scoped. By default it translates and runs code, keeping track of line numbers.

LuaMacro 2 uses a LPeg lexical scanner and no longer needs the token filter patch.

Versions

2.5.1-25 years ago4,884 downloads
2.5.1-15 years ago20,296 downloads
2.5.0-15 years ago175 downloads
2.4-25 years ago76 downloads
2.4-15 years ago116 downloads
2.3-15 years ago176 downloads

Dependencies

LPeg ~= 0.11

Dependency for

specl, specl

Manifests