Lunify
A crate for converting Lua byte code to different versions and formats.
Currently Lua 5.0 and Lua 5.1 are supported inputs.
Example
use ;
// Lua byte code in any suppored format
let input_bytes = include_bytes!;
// Desired output format. May specify pointer width, endianness, sizes of datatypes, ...
let output_format = Format ;
// Convert input bytes to the desired format
let output_bytes = unify;