Go to file
Roberto Ierusalimschy fd0e1f530d Added option for direct correction of stack pointers
The use of a pointer (not access, only for computations) after its
deallocation is forbiden in ISO C, but seems to work fine in all
platforms we are aware of. So, using that to correct stack pointers
after a stack reallocation seems safe and is much simpler than the
current implementation (first change all pointers to offsets and
then changing the offsets back to pointers). Anyway, for now that
option is disabled.
2024-08-22 11:11:00 -03:00
manual Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
testes A return can have at most 254 values 2024-08-19 18:39:25 -03:00
.gitignore 'lua_upvalueid' returns NULL on invalid upvalue index 2020-10-12 14:51:28 -03:00
README.md Details 2020-12-02 15:13:13 -03:00
all 'lua_checkstack' doesn't need to check stack overflow 2022-05-23 10:38:03 -03:00
lapi.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lapi.h Using CIST_CLSRET instead of trick with 'nresults' 2024-07-19 17:34:22 -03:00
lauxlib.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lauxlib.h lua_writestring & co. moved to llimits.h 2024-06-21 12:29:08 -03:00
lbaselib.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lcode.c 'lcode.c' can use 'checklimit', too 2024-08-20 15:15:23 -03:00
lcode.h Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lcorolib.c llimits.h being used by all Lua code 2024-06-20 14:46:06 -03:00
lctype.c Easy way to allow Unicode characters in identifiers 2019-12-17 14:24:30 -03:00
lctype.h Better documentation for 'lctype.h' 2020-09-03 09:52:43 -03:00
ldblib.c llimits.h being used by all Lua code 2024-06-20 14:46:06 -03:00
ldebug.c Struct 'transferinfo' moved to "lua_State" 2024-07-30 10:16:19 -03:00
ldebug.h Bug: Call hook may be called twice when count hook yields 2023-07-25 16:50:44 -03:00
ldo.c Added option for direct correction of stack pointers 2024-08-22 11:11:00 -03:00
ldo.h Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
ldump.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lfunc.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lfunc.h Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lgc.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lgc.h Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
linit.c llimits.h being used by all Lua code 2024-06-20 14:46:06 -03:00
liolib.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
ljumptab.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
llex.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
llex.h Detail 2020-09-15 14:29:52 -03:00
llimits.h '-Wconversion' extended to all options of Lua numbers 2024-07-27 15:13:21 -03:00
lmathlib.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lmem.c '-Wconversion' extended to all options of Lua numbers 2024-07-27 15:13:21 -03:00
lmem.h '-Wconversion' extended to all options of Lua numbers 2024-07-27 15:13:21 -03:00
loadlib.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lobject.c Floats formatted with "correct" precision 2024-08-02 15:09:30 -03:00
lobject.h Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lopcodes.c New instruction format for SETLIST/NEWTABLE 2024-06-28 11:18:14 -03:00
lopcodes.h Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lopnames.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
loslib.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lparser.c 'lcode.c' can use 'checklimit', too 2024-08-20 15:15:23 -03:00
lparser.h 'lcode.c' can use 'checklimit', too 2024-08-20 15:15:23 -03:00
lprefix.h Several details about 5.4.0 rc1 2020-04-23 14:48:15 -03:00
lstate.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lstate.h Struct 'transferinfo' moved to "lua_State" 2024-07-30 10:16:19 -03:00
lstring.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lstring.h Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lstrlib.c '-Wconversion' extended to all options of Lua numbers 2024-07-27 15:13:21 -03:00
ltable.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
ltable.h Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
ltablib.c '-Wconversion' extended to all options of Lua numbers 2024-07-27 15:13:21 -03:00
ltests.c '-Wconversion' extended to all options of Lua numbers 2024-07-27 15:13:21 -03:00
ltests.h 'printstack' (from ltests.c) made public 2024-07-05 14:57:11 -03:00
ltm.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
ltm.h Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lua.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lua.h Maximum stack size may not fit in unsigned short 2024-07-16 11:33:30 -03:00
luaconf.h Floats formatted with "correct" precision 2024-08-02 15:09:30 -03:00
lualib.h New interface to function 'luaL_openselectedlibs' 2024-02-15 11:17:39 -03:00
lundump.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lundump.h Removed type 'varint_t' 2024-03-13 09:16:51 -03:00
lutf8lib.c '-Wconversion' extended to all options of Lua numbers 2024-07-27 15:13:21 -03:00
lvm.c Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lvm.h Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
lzio.c Cleaning of llimits.h 2024-06-20 13:43:33 -03:00
lzio.h Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
makefile Added gcc option '-Wconversion' 2024-07-27 13:32:59 -03:00
onelua.c Details 2023-03-09 11:12:11 -03:00

README.md

Lua

This is the repository of Lua development code, as seen by the Lua team. It contains the full history of all commits but is mirrored irregularly. For complete information about Lua, visit Lua.org.

Please do not send pull requests. To report issues, post a message to the Lua mailing list.

Download official Lua releases from Lua.org.