Search lua-l
This index contains 143,615 documents and
1,774,615 keywords. Last update on
2023-03-09 .
- 141. Re: syntax heresy (score: 83)
- Author: Jan-Eric Duden <jeduden@...>
- Date: Mon, 08 Aug 2005 22:14:57 +0200
- I have written a simple preprocessor for Lua programs. Its purpose is to allow me to write more compact Lua programs without actually changing the compiler. Besides loving compactness, I guess I am t
- 142. syntax heresy (score: 83)
- Author: Boyko Bantchev <boykobb@...>
- Date: Mon, 8 Aug 2005 22:51:20 +0300
- Hello all, I have written a simple preprocessor for Lua programs. Its purpose is to allow me to write more compact Lua programs without actually changing the compiler. Besides loving compactness, I g
- 143. RE: Re[2]: why no "continue" statement for loops? (score: 83)
- Author: "Bilyk, Alex" <ABilyk@...>
- Date: Wed, 18 Jun 2003 14:45:48 -0700
- Very neat and practical idea, IMHO! I miss "break N" on occasion in C++. I don't ever remember wanting "continue N" but for the sake of consistency it would fly for me. Alex Programming would be some
- 144. https://www.lua.org/cgi-bin/demo?sieve: Eratosthenes' sieve? (score: 82)
- Author: Thorkil Naur <naur@...>
- Date: Sun, 9 May 2021 23:05:49 +0200
- Dear List, The demonstration program https://www.lua.org/cgi-bin/demo?sieve is: -- sieve.lua -- the sieve of Eratosthenes programmed with coroutines -- typical usage: lua -e N=500 sieve.lua | column
- 145. Re: LuaThreads with LuaJIT (and maybe lua_tcc) (score: 82)
- Author: Mildred <ml.mildred593@...>
- Date: Wed, 12 Apr 2006 11:47:27 +0200
- Hi, I wrote something that may be useful. It compiles but it isn't tested yet. It's a function lua_xcopy that copies n lua values from one lua Stack to another, like lua_xmove does. But contrary to l
- 146. Re: Experimental finalize/guard patch (score: 81)
- Author: David Manura <dm.lua@...>
- Date: Mon, 11 Feb 2008 21:01:01 -0500
- alex.mania wrote: As unwind_protect, try finallys, RAII all seems to be the topic of the week I thought I'd try my hand at implementing such a thing in to the parser/vm.... I am yet to migrate over t
- 147. Re: Trie? (score: 81)
- Author: Philippe Lhoste <PhiLho@...>
- Date: Tue, 29 May 2007 10:35:23 +0200
- Yes! But it is not optimal for Lua, I made it as a prototype for an algorithm to be implemented in C. Well, it might give ideas, or just show what not to do... :-) -- Philippe Lhoste -- (near) Paris
- 148. Re: Lua flex and bison specifications (score: 81)
- Author: Carlos Smith <carlos.smith@...>
- Date: Thu, 08 Dec 2005 07:02:41 -0500
- Here is one (flex spec), which should be pretty close to Lua 5.1 lexer. Not fully tested, but working. (4 files follows) -- file: lua.l -- /* * lua.l - flex lexer for Lua 5.1 * Copyright: Same as Lua
- 149. Experiments with the C++ resumable functions (a.k.a. the coroutines TS) and Lua API (score: 80)
- Author: nerditation <nerditation@...>
- Date: Sun, 10 May 2020 19:42:46 +0800
- Hello lua-l, I was learning the coroutines TS (which should be coming to C++20) the other day, and realized it can be used to implement a yieldable/resumable `lua_CFunction` without having to manuall
- 150. Global Value Content ? (score: 80)
- Author: "Karsten Schulz" <kahnpost@...>
- Date: Sat, 20 Dec 2014 10:27:54 +0100
- Hi together, i extract in a debug -view the content of local variables to show them in a editor. how i become the content od a global variable from them name in a scriptline ? for locals i extract th
- 151. Re: Lua/LuaJIT2 performance on Android (score: 80)
- Author: Mike Pall <mikelu-1104@...>
- Date: Tue, 19 Apr 2011 00:36:53 +0200
- The two fannkuchs just have a different output. The benchmarks are rather short, so I'm attaching them here for future archival. You get nsieve-bit as a bonus. Run them with a scaling factor of 7 for
- 152. Re: Bug report : A weak table reuse a string key that already free (score: 78)
- Author: ? ?? <nerditation@...>
- Date: Wed, 16 Aug 2017 00:31:21 +0000
- ? 2017/8/16 0:37, ?? Cloud Wu ??: I think this issue only applies to long string keys, right? one reason long strings are special is that long string is the only type in Lua of which different object
- 153. Re: [ANN] LuaSrcDiet 0.9.0 -- reduce source code size (score: 78)
- Author: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 15 Feb 2005 22:57:47 -0200
- Here is a simpler and better version of lstrip.c. Build lstrip with cc -o lstrip -I/tmp/lhf/lua-5.0.2/include -I/tmp/lhf/lua-5.0.2/src -O2 lstrip.c -L/tmp/lhf/lua-5.0.2/lib -llua -llualib with adequa
- 154. Re: Tips and questions concerning a prime sieve in Lua (score: 77)
- Author: Thorkil Naur <naur@...>
- Date: Fri, 7 May 2021 17:18:59 +0200
- Hello Jairo, Thank you for this opportunity to indulge in prime hunting, which, as we all know, is one of the most healthy and useful activities. The Xuedong Luo method and your implementation are ma
- 155. Re: parsing improvement (score: 77)
- Author: Shunsuke Shimizu <grafi@...>
- Date: Tue, 02 Jun 2015 22:46:55 +0900
- If you can permit tricky code, you can achieve a little better speed by parsing numbers manually using string.byte(). Parsing of large numbers can be slowed down by this way, but I suppose this effec
- 156. Re: Homemade email system using LuaSocket and LuaPOP3 (score: 77)
- Author: Dirk Laurie <dpl@...>
- Date: Tue, 20 Sep 2011 11:59:16 +0200
- That's easy to implement if you have already have a parser that gives a table `headers` and a string `body`, e.g. the one in stdlib which is basically the same as the one on LuaWiki. See attachment.
- 157. Re: Lua 4.0 (alpha) now available (score: 76)
- Author: Bennett Todd <bet@...>
- Date: Thu, 4 May 2000 10:06:17 -0400
- 2000-05-03-20:36:46 Edgar Toernig: On the other hand, iterator variables for loops are fundamentally different from other variables; they have a special meaning being associated with them by the loop
- 158. Re: Lua 4.0 (alpha) now available (score: 75)
- Author: Edgar Toernig <froese@...>
- Date: Thu, 04 May 2000 01:34:02 +0200
- Hi, Of course it has a lot of advantages. That's why I considered it myself. When I say it look wrong I meant it in the scope of the language. Up to now the rules were: Every undeclared variable is a
- 159. Re: I'd give my right arm for a continue statement (score: 74)
- Author: GrayFace <sergroj@...>
- Date: Sun, 23 Jan 2011 17:41:16 +0600
- That's a real deal. I find 'continue' and 'break N' both very useful in certain situations. I think there also were situations where I wanted 'continue N' that would act similar to 'break N'. 'Redo'
- 160. RE: Re[2]: why no "continue" statement for loops? (score: 74)
- Author: "Bilyk, Alex" <ABilyk@...>
- Date: Mon, 23 Jun 2003 11:10:54 -0700
- I don't see why "break [N]" is a complication. Want to exit a nested loop, use 'break [N]' otherwise, use 'break'. If you absolutely dislike 'break [N]' and 'continue [N]' on philosophical grounds, u
Search by
Namazu v2.0.21