Is Luadist is the official organization of lua ?

48 views
Skip to first unread message

godsolio

unread,
Oct 24, 2013, 4:08:26 AM10/24/13
to luadist
Why I feel that the C language source code of lua is out-sync between Github and www.lua.org.Which version is the real source code that I can look up and compile?

Peter Drahoš

unread,
Oct 26, 2013, 9:06:14 PM10/26/13
to lua...@googlegroups.com
On 24 Oct, 2013, at 10:08 , godsolio <3049...@qq.com> wrote:

> Why I feel that the C language source code of lua is out-sync between Github and www.lua.org.Which version is the real source code that I can look up and compile?

LuaDist contains two modifications of the original Lua source. The first modification is the build system, in LuaDist CMake is used to build everything so the default Makefiles included in the original Lua distribution is not used. Additionally LuaDist extends the idea of searching for modules using relative paths from the executable location as is the case on Windows. This functionality is essential to ensure LuaDist works on other platforms as well. The modification does not modify the interpreter in any way, it just extends the search mechanism for loading libraries and modules (see loadlib_rel.c)[1].

The original sources are of course available from the official language page[2].

pd

[1] https://github.com/LuaDist/lua/blob/master/src/loadlib_rel.c
[2] http://www.lua.org/ftp/
Reply all
Reply to author
Forward
0 new messages