$ luarocks install mixlua
Mixlua is a library for Lua 5.1 which provides an onload preprocessor
for lua files and allows mixing of Lua code with other data. It provides
loadstring() and loadfile() functions similar to the Lua ones but with
aditional arguments for specifing how the data elements are recognized
and handled. So CGILua's Lua Page format can be parsed using
mix.loadfile("filename", "<?lua", "?>", "=")
Versions
Dependencies
lua >= 5.1