Search lua-l
This index contains 143,615 documents and
1,774,615 keywords. Last update on
2023-03-09 .
- 201. embedded bytecode, was Re: extension for lua bytecode files (score: 64)
- Author: Tony Finch <dot@...>
- Date: Sat, 16 Jun 2007 19:31:16 +0100
- I have been using a helper program to make this kind of array, but I would have thought that it's a common enough requirement to build in to luac: -- luac.c.orig Fri Jun 2 17:37:11 2006 +++ luac.c Sa
- 202. ANNOUNCE] Lua 5.0 (pre-release); comments (score: 64)
- Author: Joe Myers <joe31416@...>
- Date: Wed, 2 Apr 2003 11:43:51 -0500 (EST)
- Lua 5.0 (pre-release) -- quick comments I also wasn't able to get readline support, compiling in linux (slackware 8.1, mandrake 9.0, debian 3). Other than that the compiles worked great. I like the n
- 203. Re: I'd give my right arm for a continue statement (score: 63)
- Author: Lucas Zawacki <lfzawacki@...>
- Date: Thu, 27 Jan 2011 21:29:36 -0200
- Just here expressing my -1 All this code with labeled break looks very ugly and confusing with no great benefit, very unlike the rest of Lua. I see the intent of providing a "generic" solution to the
- 204. msg00001.html (score: 63)
- Author: Yutaka Ueno <ueno@...>
- Date: Fri, 8 Jan 1999 17:01:10 +0900
- I found that LUA is a very good language for computational tools for Biology. Most biology textbook is so thick that people do not have time to study perl or other computer stuff. As found in mailing
- 205. Re: lua equivalent to the #line directive (score: 61)
- Author: Kenneth Lorber <keni@...>
- Date: Wed, 6 Apr 2022 10:38:48 -0400
- I needed this for something that never got released. This is cut against a modified version of 5.3.4. Share and Enjoy, Keni diff --git a/util/nhlsrc/lua-5.3.4/src/llex.c b/util/nhlsrc/lua-5.3.4/src/l
- 206. Re: question on hash for long strings (score: 61)
- Author: Philippe Verdy <verdyp@...>
- Date: Mon, 25 May 2020 13:40:51 +0200
- Now for portability: how do you detect the actual wordsize? The function uses an "unsigned int" and can use "cast_uint()" but we need a portable macro for defining the conditional code that will be c
- 207. Re: Lua 5.2 string formatting check fails when using integers (score: 61)
- Author: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 13 Apr 2012 15:22:16 -0300
- Maybe it would be a little more "elegant" to use some macros to abstract the tests, and then add those 'ifdefs' around the macros. Something like this: luaL_argcheck(L, (MIN_INTFRM - 1) < n && n < (
- 208. Re: LuaJIT2 performance for number crunching (score: 61)
- Author: Francesco Abbate <francesco.bbt@...>
- Date: Mon, 21 Feb 2011 23:28:38 +0100
- Hi all, here I am again with my Lua numeric algorithm implementation. I've managed to write the rkf45 ODE integrator in vector form using the cblas functions to perform vector arithmentic. The result
- 209. Re: [mildly OT] Some info about Python (score: 60)
- Author: ????????? <aga.chatzimanikas@...>
- Date: Tue, 21 Jan 2020 19:21:48 +0200
- Please, let me allow to hopefully help a bit the situation. Currently for non prime programmers (students, teachers, scientists, ...) there are two main choises: - if you want beauty and expression,
- 210. Re: 'table' as fallback for tables (score: 60)
- Author: Andrew Starks <andrew@...>
- Date: Tue, 28 Jun 2016 11:17:29 -0500
- Because `#t` and `__len` exist, there is a perception that Lua "has sequences". To me, in order for that to be true, there would need to be something that enforced the limitations of a sequence. Inst
- 211. Re: [ANN] Lua 5.3.0 (work2) now available (score: 60)
- Author: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 26 Mar 2014 09:04:13 -0300
- I translated SHA2 to Lua 5.3. See atached. The only complication is the care about the extra bits in 64-bit integers. -- Roberto -- SHA-256 code in Lua 5.3; based on the pseudo-code from -- Wikipedi
- 212. Proposal for a new construct in Lua (score: 60)
- Author: Michael Rose <michael.h.rose@...>
- Date: Sat, 14 May 2011 19:26:18 +0200
- Hello, I've read many of the discussions about 'switch' statements, the 'continue' statement and 'computed goto' in the mailing list as well as in the wiki. I have programmed my own 'continue' statem
- 213. RE: Menus and submenus (WAS: Forward Declaration) (score: 60)
- Author: RLake@...
- Date: Wed, 15 Oct 2003 13:02:45 -0500
- OK, here is a fully-worked example. I figured that people might be using the crippled Windows NT console (at least, that's what I have here) so I didn't put in any VT100 codes; this will therefore do
- 214. Re: Why does lua interpreter need = in front of variables? (score: 59)
- Author: Niklas Frykholm <niklas@...>
- Date: Tue, 16 Oct 2007 09:31:14 +0200
- In the lua toplevel, why do I either have to either put a "=" in front of a variable You might be interested in this. It is a little side project of mine that makes lua work nicer in "calculator mode
- 215. Re: Predefined labels (Inspired by discussion on: Why do we have ipairs?) (score: 57)
- Author: Sean Conner <sean@...>
- Date: Fri, 27 Jun 2014 05:15:38 -0400
- It was thus said that the Great Dirk Laurie once stated: If you are serious about this, you can remove "while", "repeat", "until", "else", "break" and "for" and replace them all with just "if" and "g
- 216. Coroutines with Lua. (score: 57)
- Author: "Sebastien St-Laurent" <sebby@...>
- Date: Mon, 27 Nov 2000 06:01:53 -0800
- Hi. I just noticed the co-routine/threading discussion resurfacing in the mailing list. I had promised a while back to post some documentation on how to thread lua and how to make lua stackless for l
- 217. Re: Does PIL (3rd edition) repeatedly misuse the length operator on tables and invoke undefined behavior? (score: 56)
- Author: Stephen Irons <stephen.irons@...>
- Date: Thu, 18 Sep 2014 10:35:24 +1200
- My assumption is that Lua has been developed by people who * are reasonable * have limited time * make mistakes For me, it is reasonable that the length of a table with no positive integer indices is
- 218. Does PIL (3rd edition) repeatedly misuse the length operator on tables and invoke undefined behavior? (score: 56)
- Author: polyglot@...
- Date: Wed, 17 Sep 2014 23:50:59 +1000
- 5.2 REFERENCE MANUAL "Unless a __len metamethod is given, the length of a table t is only defined if the table is a sequence, that is, the set of its positive numeric keys is equal to {1..n} for some
- 219. Re: table deep copy in C/CPP (score: 56)
- Author: Mark Hamburg <mark@...>
- Date: Tue, 16 Mar 2010 21:45:56 -0700
- Having written similar code in the past, here are some notes on Luiz's generally nice and certainly concise code: 1. It doesn't handle tables as keys. But it does assert so you at least won't continu
- 220. Re: table deep copy in C/CPP (score: 56)
- Author: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 16 Mar 2010 19:54:17 -0300
- Here's is totally untested code, just to give you an idea. static int xcopy1(lua_State *L, lua_State *T, int n) { switch (lua_type(L,n)) { case LUA_TNIL: lua_pushnil(T); break; case LUA_TBOOLEAN: lu
Search by
Namazu v2.0.21