lua-users home
lua-l archive

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


2011/8/12 Pierre Chapuis <catwell@archlinux.us>
>
> I try to load IM in LuaJIT 2 (git master) and it fails with:
>
>  $ luajit -e 'require "imlua"'
>  stack traceback:
>    [C]: ?
>    [C]: in function 'require'
>    (command line):1: in main chunk
>    [C]: ?
>
> It works fine in Lua. Any idea why?
>
> (This was on Mac OS X 64 bits)
>
> --
> Pierre 'catwell' Chapuis
>

I suppose this is because IM, just like IUP, contains embedded Lua
bytecode, which is not compatible with LuaJIT.
IUP/IM would have to be changed to embed its Lua code in text form.


--
Benoit.