[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: turnning lua code to executable in a C program
- From: Amir Ramezani <amir.ramezani1370@...>
- Date: Mon, 24 Aug 2015 16:52:02 +0430
i'm using luajit 2.0.4 for my lua interpretor, which it's syntax is
based on lua 5.1
it is natural that luajit's bytecodes are different from lua
but about luacc, i have no idea
and, i've did the tips, for example:
buffer= (char*) malloc(bufferlen);
all the tips
but it haven't worked
and, about warnings, the compiler didn't gave anything, because buffer
is declared as char*
۱۳۹۴-۰۶-۰۲ ۱۵:۲۳ GMT+۰۴:۳۰, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br>:
>> i'm using windows 7, with GCC 4.8.1 with C++ 11 and lua 5.1
>
> I don't know whether this is relevant, but loader.c contains LuaJIT
> bytecode, which does not work with Lua 5.1 from lua.org.
>
>