lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On 27/11/14 12:51 PM, Oliver Kroth wrote:
Hello Thiago,


Hi! Is there any way to have Lua 5.1 (actually LuaJIT) and Lua 5.2 (LuaJIT doesn't support _ENV) on the same program?

should be possible, as long as you wrap each interpreter into a module that hides its internal symbol references from the global name space.
Otherwise the linker will get confused when it tries to build your main program.
Uhh... what? (kinda C noob)

--
Oliver



-- 
Disclaimer: these emails are public and can be accessed from <TODO: get a non-DHCP IP and put it here>. If you do not agree with this, DO NOT REPLY.