Search lua-l
This index contains 143,615 documents and
1,774,615 keywords. Last update on
2023-03-09 .
- 221. Addition of map() and filter(). (score: 56)
- Author: André Ericsson <eandre@...>
- Date: Mon, 12 Oct 2009 23:16:12 +0200
- I've more than once been struck by lua's lacking tools for handling "lists", i.e. several values separated by commas in Lua. The problem is usually when dealing with lists of arbitrary or unknown len
- 222. Re: Lua 4.0 (alpha) now available (score: 56)
- Author: Bennett Todd <bet@...>
- Date: Wed, 3 May 2000 12:33:23 -0400
- 2000-05-02-19:53:16 Edgar Toernig: Interesting. I think it's fascinating that you dislike this; it suggests that there's some basic difference in our programming backgrounds or something. I really li
- 223. Re: lua_next() crashing on former LUA_TNONE arguments (score: 55)
- Author: Sean Conner <sean@...>
- Date: Fri, 15 Dec 2017 16:50:30 -0500
- It was thus said that the Great Luiz Henrique de Figueiredo once stated: Since this seems to be the thing now, what I use is: void lluaL_luastack(lua_State *L) { int max; int i; printf("LUA STACK DUM
- 224. Re: lua_next() crashing on former LUA_TNONE arguments (score: 55)
- Author: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 15 Dec 2017 14:00:15 -0200
- Using luaL_tolstring will change the type of number values to string. I use this: static void dumpstack (lua_State *L, const char *message) { int top=lua_gettop(L); int i; printf("dumpstack -- %s\n"
- 225. [PATCH 4/4] Ported to 5.2.0-alpha. (score: 55)
- Author: David Favro <lua@...>
- Date: Tue, 10 May 2011 15:32:02 -0400
- * Lightly tested. * Conditional compilation, so remains backwards-compatible with 5.1. Signed-off-by: David Favro <lua@meta-dynamic.com> -- lposix.c | 58 +++++++++++++++++++++++++++++++++++++++++++++
- 226. Re: LuaJIT2 performance for number crunching (score: 55)
- Author: Francesco Abbate <francesco.bbt@...>
- Date: Sat, 19 Feb 2011 16:04:19 +0100
- Hi all, after a good amount of work I've finalized the writing of the ODE integration routine. The method that I've implemented is the Embedded Runge-Kutta-Fehlberg (4, 5) method. This latter method
- 227. Re: Multiple assignment, numeric table keys (score: 54)
- Author: Dirk Laurie <dirk.laurie@...>
- Date: Sat, 15 Dec 2012 06:51:38 +0200
- 2012/12/15 TNHarris <telliamed@whoopdedo.org>: Try the attached module. /* xtable.c Enhanced drop-in replacements for some table library functions (c) 2012 Dirk Laurie, same license as Lua 5.2.1 (c)
- 228. Lua 5.3.0-rc3 compilation with PureC (AtariST). (score: 53)
- Author: Wiktor Gr?bla <greblus@...>
- Date: Mon, 5 Jan 2015 21:51:28 +0100
- Hi guys. It's my first post to this list, so first of all: thank you for Lua and sorry I discovered it so late ;). But better late then never. I've been looking for a small and fast scripting languag
- 229. Re: I'd give my right arm for a continue statement (score: 53)
- Author: Axel Kittenberger <axkibe@...>
- Date: Thu, 27 Jan 2011 23:40:42 +0100
- Rereading my comment, I think one could say, "dont know what this should be different to break" -- let me phrase it differently, we should habe any keyword or idiom that effectively allows "go back t
- 230. Strange luac segmentation fault (score: 53)
- Author: Jo-Philipp Wich <xm@...>
- Date: Fri, 11 Sep 2009 23:50:48 +0200
- Hi list. A user reported a segmentation fault in luac when trying to byte-compile some Lua source files. This happened for him on both Fedora 12/rawhide x86_64 and Fedora 11 i586. I couldn't reproduc
- 231. Re: add "split" into standard library (score: 52)
- Author: Philippe Verdy <verdy_p@...>
- Date: Sat, 1 Jun 2019 08:26:03 +0200
- Another example of breaker for string.split() could be a function using the regexp '^%d+' to match a decimal integer and return the *aggregate* as the converted number, and the length of the matched
- 232. Re: Predefined labels (Inspired by discussion on: Why do we have ipairs?) (score: 52)
- Author: djczaski <djczaski@...>
- Date: Fri, 27 Jun 2014 09:04:51 -0400
- "until". Try the following experiment: in llex.c, find "break" (complete with quotes) and change it to something else, say "BREAK", so that `break` is no longer a keyword. Rebuild. Then this works: 7
- 233. Predefined labels (Inspired by discussion on: Why do we have ipairs?) (score: 52)
- Author: Dirk Laurie <dirk.laurie@...>
- Date: Fri, 27 Jun 2014 10:03:36 +0200
- Several people, I'm sure, use the convention that the label "until". Try the following experiment: in llex.c, find "break" (complete with quotes) and change it to something else, say "BREAK", so that
- 234. Re: In praise of globals (score: 52)
- Author: Philipp Janda <siffiejoe@...>
- Date: Fri, 26 Apr 2013 03:15:57 +0200
- Hi! Am 25.04.2013 05:29 schröbte Philipp Janda: My suggestion would be to make a proper interactive interpreter that respects the local environment. I have some ideas, but it is late, so maybe they a
- 235. lua_resume (score: 52)
- Author: "D Burgess" <dburgess@...>
- Date: Fri, 4 Aug 2006 20:00:22 +1000
- I either have a bug or something I dont understand. It appears that every second lua_yield does nothing!. The following code produces : line 1 1 line 3 3 line 5 5 line 7 7 line 9 9 line 11 11 line 13
- 236. const patch to reduce GC cycle (score: 52)
- Author: paul@...
- Date: Sun, 10 Mar 2002 22:32:29 +0800
- Here is a quick hack to save some GC cycle with Lua 4.0. It may only be meaningful for those who have HUGE table of numbers and strings. To compile the patch cd lua; make clean; patch -p1 < lua-const
- 237. Re: ipairs in Lua 5.3.0-alpha (score: 51)
- Author: Jan Behrens <jbe-lua-l@...>
- Date: Fri, 15 Aug 2014 13:45:47 +0200
- My initial statement was: That would work for my example code above where I can decide where and when to create the table (and where I know about the program behavior). But how to create a generic fu
- 238. Re: Stack Debugging (score: 51)
- Author: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 10 Jan 2009 05:07:37 -0200
- Here's another version, based on code from PiL: http://www.lua.org/pil/24.2.3.html static void dumpstack (lua_State *L, const char *message) { int i; int top=lua_gettop(L); printf("dumpstack -- %s\n"
- 239. Re: [ANNOUNCE] Lua 4.0 (alpha) now available (score: 51)
- Author: Edgar Toernig <froese@...>
- Date: Wed, 03 May 2000 00:39:43 +0200
- Hi, You did not get much response about the new version so I'll try to give you some of my impressions ;) First observations: it's really noticeable faster, the already clean code got even cleaner, t
- 240. [PATCH] Quoted String "%q" non-ascii escaping (w/ hex). (score: 50)
- Author: Duane Leslie <parakleta@...>
- Date: Wed, 28 Jun 2017 11:56:52 +1000
- Hi, I had a problem with the quoted string format producing strings that were not legal UTF-8 because it was not escaping non-ascii characters, and then once I fixed that I wasn't able to read the st
Search by
Namazu v2.0.21