LLVM-LUA

121 views
Skip to first unread message

Haseeb Yousaf

unread,
Nov 18, 2011, 3:34:42 PM11/18/11
to iPhone Wax
Is it possible to compile LUA and WAX using LLVM-LUA http://code.google.com/p/llvm-lua/

Has anyone tried it before?

Haseeb Yousaf

unread,
Nov 19, 2011, 8:59:12 AM11/19/11
to iPhone Wax
I used LuaJIT instead. Much faster, better and works nicely with WAX.

On Nov 19, 1:34 am, Haseeb Yousaf <haseeb.you...@pentaloop.com> wrote:
> Is it possible to compile LUA and WAX  using LLVM-LUAhttp://code.google.com/p/llvm-lua/

Treach

unread,
Dec 13, 2011, 5:58:27 PM12/13/11
to iPhone Wax
Could you please explain how to use it? I just can't seem to get it to
work and it frustrates me..

Also tried UFO (which is a portable version of LuaJIT, hoping that
works, but it doesn't :()

Thanks!

CAI

unread,
Dec 20, 2011, 3:34:47 AM12/20/11
to iPhone Wax
Want to know too..

Haseeb Yousaf

unread,
Dec 20, 2011, 4:06:47 AM12/20/11
to iPhone Wax
Hi

I have integrated it into Loop2d, my lua wrapper around cocos2d. Will
upload the latest version tomorrow, that has LuaJIT.

https://github.com/HaseebYousaf/Loop2d

Regards
Haseeb

Treach

unread,
Dec 21, 2011, 8:33:29 AM12/21/11
to iPhone Wax
That would be seriously awesome, keep hurting my head over it, it
seems to be simple but it just doesn't work.

Thanks.

CAI

unread,
Dec 21, 2011, 8:59:14 PM12/21/11
to iPhone Wax
I now run it successfully
The key point is compiling Luajit as .dylib

https://github.com/malkia/ufo/blob/master/build/OSX/luajit.sh

Haseeb Yousaf

unread,
Dec 21, 2011, 11:22:30 PM12/21/11
to iPhone Wax
Loop2d updated with LuaJIT

https://github.com/HaseebYousaf/Loop2d

Haseeb Yousaf

unread,
Dec 21, 2011, 11:27:13 PM12/21/11
to iPhone Wax
To use Wax with LuaJIT independently from Loop2d, just take out the
pre-packaged wax folder and drop it in your project, it should work.
Let me know if there is any problem. :)

Srini Kommoori

unread,
Dec 22, 2011, 12:01:01 AM12/22/11
to ipho...@googlegroups.com
Awesome. Thanks - this should help for my crypto engine. 

-Srini

2011/12/21 Haseeb Yousaf <haseeb...@pentaloop.com>
Reply all
Reply to author
Forward
0 new messages