lua-users home
lua-l archive

Search lua-l

This index contains 143,604 documents and 1,774,497 keywords. Last update on 2023-03-08 .

Query: [How to search]

Display: Description: Sort by:

Results:

References: [ lua (Too many documents hit. Ignored) ] [ array: 5396 ] [ indexing: 1373 ]

Total 296 documents matching your query.

141. Re: autocompletion code (score: 26)
Author: Dimitris Papavasiliou <jimmyp@...>
Date: Tue, 27 Apr 2004 01:47:02 +0300
wow! quite a lot of feedback. I'll try to aswer to all replies here. First of all let me say that I wrote all this yesterday somewhere between 2 and 4 am so it wasn't anything finsihed, I just wanted
142. Re: Returning arrays via tolua-4.0a (score: 26)
Author: Waldemar Celes <celes@...>
Date: Mon, 05 Feb 2001 13:30:31 -0200
tolua does not provide support for this automatically. one solution would be to map the vector as a usertype, and then to provide a function to access vector elements, binding both functions with to
143. Re: [ANN] Lua 5.2.0 (rc1) now available (score: 24)
Author: Roberto Ierusalimschy <roberto@...>
Date: Fri, 25 Nov 2011 16:25:54 -0200
All these options may result in sub-optimal code for some particular sizes of ptrdiff_t and int. Did you try this option? define twoto(x) (int)(1<<(x)) This asserts exactly what I want (I *really* w
144. Re: Lua impressions from a scheme/f# programmer [was: Linking Lua in F#] (score: 24)
Author: David Manura <dm.lua@...>
Date: Mon, 18 Jul 2011 21:08:41 -0400
Here's a few quick responses on some of these points: First, a+b "c" is syntactic sugar for a+b("c") [1]. Second, I think the reason for omission of function calls in the precedence table [2] is that
145. Re: Luajit and curstom data structures (score: 24)
Author: KR <krunal.rao78@...>
Date: Sun, 10 Apr 2011 15:33:30 +0000 (UTC)
Thank you for your prompt reply! My replies below: That's very clear now, thank you for the insight. However, I then tried the following alternatives which result in empty tables (so luajit should be
146. lua_rawgeti / why no lua_geti? (score: 24)
Author: "Wesley Smith" <wesley.hoke@...>
Date: Thu, 27 Dec 2007 19:27:00 -0600
I've been thinking recently about how Lua bindings could be generically designed but still as efficient as possible for handling vector data in the general sense. I have the situation where it is nec
147. Re: Lua is about to become history (score: 24)
Author: ramsdell@... (John D. Ramsdell)
Date: 03 May 2006 06:58:43 -0400
... Bret, I think you have to be very careful about making this case. How tolerant of backwards-incompatibility do you thing the Lua user base would be if the Lua authors modernized the language to
148. Re: Deprecate "Attempt to index a nil value" error; instead, return nil or create table (score: 22)
Author: Francisco Olarte <folarte@...>
Date: Sun, 1 Mar 2020 19:22:28 +0100
Anton: No, it does not, it just returns undef: folarte@7of9:~$ perl -e '@x=(1); for(4..6) { print $x[$_]//"x"; } print " $#x $^V\n";' xxx 0 v5.28.1 ( For the uninitiated, this creates a list with a s
149. Re: Deprecate "Attempt to index a nil value" error; instead, return nil or create table (score: 22)
Author: Philippe Verdy <verdyp@...>
Date: Sun, 1 Mar 2020 16:46:04 +0100
If such behavior is added, it should depend on a table's meta-property, i.e. a special value in its metatable. Autocreation can also create problems in Lua. Or may be there's a need to subclass the "
150. Re: [NoW] Luac crashes when trying to display undefined instruction (score: 22)
Author: Rena <hyperhacker@...>
Date: Fri, 25 Jan 2019 13:16:48 -0500
On Fri, Jan 25, 2019, 05:50 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br wrote: > Yes, that's array index out of bounds error. We could fix this opname issue as suggested, but there are probab

Search by Namazu v2.0.21