A preprocessor for files including embedded Lua code

$ 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

0.2.7-25 years ago746 downloads
0.2.7-15 years ago6 downloads

Dependencies

lua >= 5.1

Labels

Manifests