> Would it technically be possible to compile Lua scripts into bytecode for a different platform, e.g. on a x86_64 Linux host for a i386 target? Sure. Just change ldump.c to do the right thing, which I expect isn't much. See also http://lua-users.org/lists/lua-l/2016-02/msg00176.html .