Groups
Groups
Sign in
Groups
Groups
lua-l
Conversations
About
Send feedback
Help
lua-l
Contact owners and managers
1–30 of 486
Welcome to
lua-l
, a list for discussing the
Lua
programming language, its uses, and its implementation. For further information, visit
this page
.
Mark all as read
Report group
0 selected
重归混沌
, …
云风 Cloud Wu
14
Oct 16
Some thoughts about string
重归混沌 <find...@gmail.com> 于2025年10月17日周五 11:43写道: > > > For this case, you can split
unread,
Some thoughts about string
重归混沌 <find...@gmail.com> 于2025年10月17日周五 11:43写道: > > > For this case, you can split
Oct 16
Halalaluyafail3
,
bil til
3
Oct 15
Comparing strings, strcoll, and undefined behavior
> the comparison in Lua is based on string compare functions in C compiler I think. Yes, as I
unread,
Comparing strings, strcoll, and undefined behavior
> the comparison in Lua is based on string compare functions in C compiler I think. Yes, as I
Oct 15
Francisco Olarte
Oct 15
sctrcmp-like compare request
Seeing a message about potential problems with strcoll in string compare I have noticed that < and
unread,
sctrcmp-like compare request
Seeing a message about potential problems with strcoll in string compare I have noticed that < and
Oct 15
bil til
,
Roberto Ierusalimschy
6
Oct 15
V5.5 Manual: a small error and 2-3 wishes...
Thank you for this clear example description. Possibly it would be good to add such a "short
unread,
V5.5 Manual: a small error and 2-3 wishes...
Thank you for this clear example description. Possibly it would be good to add such a "short
Oct 15
Alexander Walz
, …
Sainan
5
Oct 14
Lua 5.x parser, Looking beyond luaX_lookahead()
I'm not sure what you mean. I think this was one of the easier patches; I assumed it would need a
unread,
Lua 5.x parser, Looking beyond luaX_lookahead()
I'm not sure what you mean. I think this was one of the easier patches; I assumed it would need a
Oct 14
bil til
,
Roberto Ierusalimschy
3
Oct 12
V5.5: Thanks for great new "fixed ROM option" for BIN code
So now I moved this modification to LuaL_loadfileex: if( !mode) mode= "Bt"; Thanks. Am So.,
unread,
V5.5: Thanks for great new "fixed ROM option" for BIN code
So now I moved this modification to LuaL_loadfileex: if( !mode) mode= "Bt"; Thanks. Am So.,
Oct 12
bil til
, …
Javier Guerra Giraldez
13
Oct 7
Interrupt Callback Functions for small IoT systems (small ROM-RAM)
concerning print function, I think performance / speed is not crucial, as it practically always is a
unread,
Interrupt Callback Functions for small IoT systems (small ROM-RAM)
concerning print function, I think performance / speed is not crucial, as it practically always is a
Oct 7
Martin Cortese
,
Thijs Schreijer
2
Oct 7
Presentation
On Tue, 7 Oct 2025, at 10:04, Martin Cortese wrote: > Hi everybody, > I'm Martin from Italy
unread,
Presentation
On Tue, 7 Oct 2025, at 10:04, Martin Cortese wrote: > Hi everybody, > I'm Martin from Italy
Oct 7
Jure Bagić
, …
Roberto Ierusalimschy
4
Sep 21
Potential overflow when dumping string size
I overlooked the header completely *facepalm*! On 25/09/21 11:50AM, Roberto Ierusalimschy wrote: >
unread,
Potential overflow when dumping string size
I overlooked the header completely *facepalm*! On 25/09/21 11:50AM, Roberto Ierusalimschy wrote: >
Sep 21
jy l
, …
Roberto Ierusalimschy
4
Sep 21
Assertion failure of `A <= ((1<<8)-1) && B <= ((1<<8)-1) && C <= ((1<<8)-1) && (k & ~1) == 0'
> ./lua -e 'load("local " .. string.rep("_,", 256) .. "_")'
unread,
Assertion failure of `A <= ((1<<8)-1) && B <= ((1<<8)-1) && C <= ((1<<8)-1) && (k & ~1) == 0'
> ./lua -e 'load("local " .. string.rep("_,", 256) .. "_")'
Sep 21
Alexander Walz
, …
Francisco Olarte
6
Sep 20
Mysterious Lua C API functions lua_getallocf() and lua_setallocf()
On Sat, 20 Sept 2025 at 16:21, Alexander Walz <al-a...@t-online.de> wrote: I stumbled about
unread,
Mysterious Lua C API functions lua_getallocf() and lua_setallocf()
On Sat, 20 Sept 2025 at 16:21, Alexander Walz <al-a...@t-online.de> wrote: I stumbled about
Sep 20
Pierre Chapuis
, …
Luiz Henrique de Figueiredo
10
Sep 19
loadk.com LuaRocks mirror abuse
This discussion is off topic here. Let's go back to discussing Lua. Thanks. --lhf
unread,
loadk.com LuaRocks mirror abuse
This discussion is off topic here. Let's go back to discussing Lua. Thanks. --lhf
Sep 19
Lars Müller
, …
Lars Müller
38
Sep 19
Proposal: C API function to check whether a table is a sequence
I have now written a proof of concept, and as expected it is much faster than a user iterating the
unread,
Proposal: C API function to check whether a table is a sequence
I have now written a proof of concept, and as expected it is much faster than a user iterating the
Sep 19
Stefano Cossu
, …
Gé Weijers
6
Sep 19
Lua run as user service cannot find /dev/stderr
Thanks for the suggestions. io.output(io.stderr) works as expected and looks like is much more
unread,
Lua run as user service cannot find /dev/stderr
Thanks for the suggestions. io.output(io.stderr) works as expected and looks like is much more
Sep 19
Edward Gynt
, …
Sainan
8
Sep 15
null pointer exception in luaC_checkfinalizer
> checks the linked list for sanity I should clarify that in this case I mean the 'finobj'
unread,
null pointer exception in luaC_checkfinalizer
> checks the linked list for sanity I should clarify that in this case I mean the 'finobj'
Sep 15
Patrick Kurth
, …
Lars Müller
23
Sep 12
Implementation of named function parameters
I strongly agree with the sentiment. Lua does not need "named parameters". If you want
unread,
Implementation of named function parameters
I strongly agree with the sentiment. Lua does not need "named parameters". If you want
Sep 12
Gé Weijers
,
Roberto Ierusalimschy
2
Sep 11
FYI: LUAI_FUNC etc. on MacOS
> FYI: I found that "__attribute__((visibility("internal"))) extern" works
unread,
FYI: LUAI_FUNC etc. on MacOS
> FYI: I found that "__attribute__((visibility("internal"))) extern" works
Sep 11
Shahar Band
, …
Spar
19
Sep 10
New Lua Style Guide for the Community
Well, believe it or not, but code style is important, but it's up to you what style you want to
unread,
New Lua Style Guide for the Community
Well, believe it or not, but code style is important, but it's up to you what style you want to
Sep 10
Scott Condit
, …
Roberto Ierusalimschy
6
Sep 9
lua 5.5 failing on C++ Exceptions (Linux)
> If building lua as C++ on Debian 6.1.140-1 x86_64, cc is (Debian > 12.2.0-14+deb12u1) 12.2.0
unread,
lua 5.5 failing on C++ Exceptions (Linux)
> If building lua as C++ on Debian 6.1.140-1 x86_64, cc is (Debian > 12.2.0-14+deb12u1) 12.2.0
Sep 9
Martin Eden
, …
Roberto Ierusalimschy
16
Sep 9
RFC: string.sub() address limits
> I'm curious why string.rep() and string.pack() use additional limits > for the size of
unread,
RFC: string.sub() address limits
> I'm curious why string.rep() and string.pack() use additional limits > for the size of
Sep 9
David Favro
, …
Philippe Verdy
6
Sep 7
-O3 triggers compiler warning [x86_64, Linux, gcc]
Why using "int" instead of a "size_t" here? This is signifiant when compiling for
unread,
-O3 triggers compiler warning [x86_64, Linux, gcc]
Why using "int" instead of a "size_t" here? This is signifiant when compiling for
Sep 7
sur-behoffski
Sep 5
Lua on GNU/Linux distros Debian 13.0.0, and Linux Mint 22.2
G'day, Brief update, my GNU/Linux assistant works on recent Debian and Linux Mint releases. This
unread,
Lua on GNU/Linux distros Debian 13.0.0, and Linux Mint 22.2
G'day, Brief update, my GNU/Linux assistant works on recent Debian and Linux Mint releases. This
Sep 5
Benny Isaacs
,
Luiz Henrique de Figueiredo
2
Sep 4
Potential Security issue
> I've discovered a UAF in Lua which leads to native code execution. > How can I report it
unread,
Potential Security issue
> I've discovered a UAF in Lua which leads to native code execution. > How can I report it
Sep 4
Caio Madeira
, …
Luiz Henrique de Figueiredo
3
Sep 2
How do you contribute to Lua's resources while still being in line with its philosophy?
See https://www.lua.org/faq.html#1.8 https://www.lua.org/faq.html#1.9 https://www.lua.org/faq.html#
unread,
How do you contribute to Lua's resources while still being in line with its philosophy?
See https://www.lua.org/faq.html#1.8 https://www.lua.org/faq.html#1.9 https://www.lua.org/faq.html#
Sep 2
Luiz Henrique de Figueiredo
, …
Luau Project
13
Sep 1
Makefile targets
> The motivation is that we have no access to these platforms and so no > way to test these
unread,
Makefile targets
> The motivation is that we have no access to these platforms and so no > way to test these
Sep 1
Roger Leigh
, …
Roberto Ierusalimschy
27
Sep 1
Use of C89 vs C99
> uint8 -> unsigned char > > uint16_t -> unsigned short > > uint32_t ->
unread,
Use of C89 vs C99
> uint8 -> unsigned char > > uint16_t -> unsigned short > > uint32_t ->
Sep 1
Родион Горковенко
, …
bil til
14
Sep 1
Compound assignments as an exercise - hints welcome
Am So., 31. Aug. 2025 um 15:30 Uhr schrieb Frank Dana (FeRD) <fer...@gmail.com>: > > Is
unread,
Compound assignments as an exercise - hints welcome
Am So., 31. Aug. 2025 um 15:30 Uhr schrieb Frank Dana (FeRD) <fer...@gmail.com>: > > Is
Sep 1
mohammadbagher bidram
, …
bil til
13
Aug 31
How Can I Grow as a Young Lua Programmer?
Am So., 31. Aug. 2025 um 11:47 Uhr schrieb mohammadbagher bidram <mbbidr...@gmail.com>: >
unread,
How Can I Grow as a Young Lua Programmer?
Am So., 31. Aug. 2025 um 11:47 Uhr schrieb mohammadbagher bidram <mbbidr...@gmail.com>: >
Aug 31
bil til
Aug 31
The book "Programming in Lua" is correct. If you have problems to follow the examples there
unread,
The book "Programming in Lua" is correct. If you have problems to follow the examples there
Aug 31
Roger Leigh
Aug 30
[PATCH] Test portability fixes for 5.5.0-beta
Hi, I've spent the last day updating my CMake build for Lua to work with the 5.5.0-beta release,
unread,
[PATCH] Test portability fixes for 5.5.0-beta
Hi, I've spent the last day updating my CMake build for Lua to work with the 5.5.0-beta release,
Aug 30