lua-users home
lua-l archive

Search lua-l

This index contains 143,615 documents and 1,774,615 keywords. Last update on 2023-03-09 .

Query: [How to search]

Display: Description: Sort by:

Results:

References: [ break: 4996 ] [ n: 11587 ]

Total 1026 documents matching your query.

41. Re: table deep copy in C/CPP (score: 217)
Author: Pan Shi Zhu <pan.shizhu@...>
Date: Thu, 18 Mar 2010 09:12:27 +0800
This is my personal utilities module. Please ignore unrelevant stuffs and concentrate only on the "repr" and "unrepr" function. You will notice some linux-only headers in the source, please just remo
42. Re: builtin pattern matching (score: 215)
Author: Jim <djvaios@...>
Date: Tue, 14 May 2019 18:54:17 +0200
what about having a look at Squirrel's pattern matching implementation ? https://raw.githubusercontent.com/albertodemichelis/squirrel/master/sqstdlib/sqstdrex.cpp it is written in C++, although in a
43. Re: Let's not break existing scripts. (score: 215)
Author: Tom N Harris <telliamed@...>
Date: Sat, 12 Nov 2011 17:29:06 -0500
Possible, yes, but it would bloat *all* functions and many functions do not use globals at all. How about ensure that if _ENV is present then it is the first upvalue? So you check for it without a lo
44. Re: PATCH: fixes bug with calling garbage collector from custom lua_Alloc (score: 208)
Author: "Robert G. Jakabosky" <bobby@...>
Date: Thu, 15 May 2008 03:33:55 -0700
Updated patch attached 'emergency_gc-5.1.3.patch'. Includes two memory optimizations, no new bugfixes in this release. The two memory optimizations are broken into two patches that can be used withou
45. Re: Why is break not syntactically required to be the last statement in a block (anymore)? (score: 202)
Author: Ryan Starrett <pyryanggg@...>
Date: Thu, 28 Jul 2022 14:47:53 -0400
On Thu, Jul 28, 2022 at 10:50 AM Lorenzo Donati <lorenzodonatibz@tiscali.it> wrote: As I recall it, this is the right explanation for the current situation. FWIW, I'd still like "break" to be improve
46. Re: Feature request: enhanced break (score: 202)
Author: "Thiago L." <fakedme@...>
Date: Tue, 25 Nov 2014 09:34:24 -0200
On 25/11/14 09:30 AM, Thijs Schreijer wrote: --Original Message-- From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On Behalf Of Dirk Laurie Sent: maandag 24 november 2014 7:40 T
47. RE: Feature request: enhanced break (score: 202)
Author: Thijs Schreijer <thijs@...>
Date: Tue, 25 Nov 2014 11:30:03 +0000
Seems a bit errorprone to me. Doing maintenance, adding a level due to another loop wrapping some existing piece of code. Now the levels I have for break no longer match... I'd go for the already me
48. UTF-8 validation (score: 197)
Author: "Cezary H. Noweta" <chn@...>
Date: Wed, 09 Dec 2015 23:55:51 +0100
Hello, In the Lua's core I have not found a way to validating UTF-8 strings coming from unknown sources. According to the Unicode Standard and UTR implementation does not detect a non-shortest form.
49. Re: Feature request: enhanced break (score: 197)
Author: Oliver Kroth <oliver.kroth@...>
Date: Mon, 24 Nov 2014 07:54:42 +0100
Dirk, how do you want to pick up the value break provided? -- Oliver Am 24.11.2014 um 07:39 schrieb Dirk Laurie: Optional integer constant after "break" specifies number of enclosing loops to break.
50. Re: Why is break not syntactically required to be the last statement in a block (anymore)? (score: 193)
Author: Lorenzo Donati <lorenzodonatibz@...>
Date: Fri, 29 Jul 2022 16:23:43 +0200
Of course you can litter your nested loops with something like if some_condition then goto BAIL_OUT end but this code can be completely understood only knowing where the BAIL_OUT label is placed. It
51. Re: Feature request: enhanced break (score: 193)
Author: Axel Kittenberger <axkibe@...>
Date: Mon, 24 Nov 2014 10:04:14 +0100
Cant you write your own metaparser for this to generate Lua code on the fly with the respective goto statements? To cover all these skin-deep things for different taste a good idea for the next Lua g
52. Feature request: enhanced break (score: 193)
Author: Dirk Laurie <dirk.laurie@...>
Date: Mon, 24 Nov 2014 08:39:46 +0200
Optional integer constant after "break" specifies number of enclosing loops to break. `break 1` means the same as `break` without a number. Example: find an item in a table of lists, with shortcut ex
53. Re: Hash Table Collisions (n.runs-SA-2011.004) (score: 190)
Author: William Ahern <william@...>
Date: Wed, 4 Jan 2012 15:58:09 -0800
I suspect your generation is buggy, because I get something very different. % ./genkeys -n 16 | /usr/bin/time ./collide 0.20 real 0.17 user 0.01 sys % ./genkeys -n 16 -c | /usr/bin/time ./collide 68.
54. VEGAS algorithm for monte carlo integration in LuaJIT2 (score: 187)
Author: Francesco Abbate <francesco.bbt@...>
Date: Sun, 22 Jan 2012 01:26:39 +0100
Hi all, I'm glad to announce that, thanks to the work of Lesley, we have now in GSL Shell an implementation of the VEGAS algorithm for monte carlo integration. The algorithm, for those that who don't
55. Re: proposal: state machine syntax also usable for continue / nested break (score: 184)
Author: Xavier Wang <weasley.wx@...>
Date: Sat, 29 Jan 2011 09:46:53 +0800
2011/1/29 Enrico Colombini <erix@erix.it> On 28/01/2011 17.20, Paul Hudson wrote: Can we  have computed go to? http://en.wikipedia.org/wiki/Goto#Computed_GOTO (I am joking, but it would actually fit
56. Re: Cross compiling Lua byte code (score: 184)
Author: "Dakota Knutson" <dakota367@...>
Date: Thu, 4 May 2006 19:33:22 -0700
ldebug.h" > #include "ldo.h" > #include "lfunc.h" > #include "lmem.h" > #include "lobject.h" > #include "lstring.h" > #include " lundump.h" > #include "lzio.h" > > typedef struct { > lua_State* L; >
57. Re: Cross compiling Lua byte code (score: 184)
Author: "Ivaylo Beltchev" <ivo@...>
Date: Thu, 4 May 2006 19:29:36 -0700
Thanks. I think that's exactly what I need! Ivo
58. Re: Cross compiling Lua byte code (score: 184)
Author: Luiz Henrique de Figueiredo <lhf@...>
Date: Thu, 4 May 2006 16:01:08 -0300
Here it is... (partially untested.) Just be careful to build your PPC Lua with this module but your x86 Lua with the original lundump.c. --lhf /* ** $Id: lundump.c,v 1.60 2006/02/16 15:53:49 lhf Exp
59. new features for remdebug (score: 183)
Author: "Guangxian Zou" <trueweck@...>
Date: Fri, 23 Jun 2006 18:32:30 +0800
hi all, remdebug can make debug lua script easily. but it didn't support backtrace, which is a very useful feature. so i modified the source code of remdebug, added some new features:backtrace,frame,
60. Re: Why is break not syntactically required to be the last statement in a block (anymore)? (score: 178)
Author: Ryan Starrett <pyryanggg@...>
Date: Mon, 22 Aug 2022 03:52:13 -0400
On Sun, Aug 21, 2022 at 4:17 PM Philippe Verdy <verdyp@gmail.com> wrote: for<label> ... do    while<label2> ... do       repeat<label3> ...          if ... then             break<label3>          els

Search by Namazu v2.0.21