Search lua-l
This index contains 143,604 documents and
1,774,497 keywords. Last update on
2023-03-08 .
- 121. require etc (was Re: globals (_locals)) (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Thu, 7 Jun 2001 16:51:38 +0900
- particular (I'm presuming Renato's comment was about modules, not globals.) I'm tending to think the same way these days. I view Lua as second-to-none in the areas of configuration and embedded scrip
- 122. Re: globals (_locals) (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Thu, 7 Jun 2001 21:52:20 +0900
- The other problem with this is that it's quite strange for the word "global" by itself to mean "don't use globals by default".
- 123. Re: globals (_locals) (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Fri, 8 Jun 2001 10:37:49 +0900
- I think lhf is forgetting that the globals function is not available after you switch out the global table. You'll have to store a local reference to at least that function. -John
- 124. suggestion: uniform indenting in source distribution (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Fri, 8 Jun 2001 21:02:52 +0900
- As someone who often makes patches against the official distribution, I'd like to suggest consistent indenting in the Lua source code. From just sampling a few files, I see that some have indenting o
- 125. Re: list iteration for statement (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Sat, 9 Jun 2001 01:11:27 +0900
- I've implemented this as a power patch (http://lua.swiki.net/5). I haven't tested it much, but if anyone has a problem send me the details and I should be able to fix it. I didn't change existing opc
- 126. Re: list iteration for statement (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Sat, 9 Jun 2001 14:03:16 +0900
- I realized that a subtle issue about making this change to Lua is that it requires the vm to know about lists. (It looks like in Sol, Edgar gets around this by using different semantics, where a list
- 127. Re: list iteration for statement (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Mon, 11 Jun 2001 11:35:16 +0900
- Ah didn't see that, thanks for the correction. [1] I think it's too useful to have nil's in a list. I couldn't see giving that up. -John
- 128. Re: list iteration for statement (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Mon, 11 Jun 2001 15:31:27 +0900
- The issue of nil as false has been well-discussed, and the Lua authors already admit this weakness in the paper "The Evolution of an Extension Language: A History of Lua". Independent of that issue h
- 129. Re: list iteration for statement (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Wed, 13 Jun 2001 10:26:37 +0900
- I see your point there! A few messages back you corrected my statement about the vm not knowing about lists, but I should have said the vm doesn't know how to compute n given an arbitrary table. That
- 130. podlib vaporware (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Tue, 26 Jun 2001 14:04:00 +0900
- Here is a description of a non-existent Lua library. No guarantee that it will be implemented (or released if it is implemented), but thought I'd present it for criticism. -John -- The Lua library po
- 131. 4.0 manual error (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Tue, 26 Jun 2001 22:12:35 +0900
- In the following from section 4.4.4, "t" in the next calls should be replaced with "_t". A for statement like for index, value in exp do block end is equivalent to the code: do local _t = exp local i
- 132. Re: about Lua 4.1 alpha (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Thu, 28 Jun 2001 19:47:35 +0900
- At one time Edgar and I partially worked through some scenarios for adding bools to Lua (see http://lua.swiki.net/12). There are some sticky issues as you have to trade off between usefulness and bac
- 133. Re: about Lua 4.1 alpha (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Thu, 28 Jun 2001 22:21:37 +0900
- It's up to you how to define beta for your project, but usually beta means all the new functionality is in place and you're just looking for final bugs. -John
- 134. Re: moving lua-l to Yahoo Groups (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Tue, 10 Jul 2001 10:10:17 +0900
- I don't have any complaint about moving to Yahoo. However I'd like to point out that just because they don't attach ads today doesn't mean they won't change their policy tomorrow. If you are opposed
- 135. Re: moving lua-l to Yahoo Groups (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Tue, 10 Jul 2001 18:47:26 +0900
- has But somebody (in this case VA Linux, which also has shareholders by the way) has to host that site, and that somebody is just as likely as Yahoo to use mailing list ads to help pay the bills some
- 136. Re: Garbage Collection Times? (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Fri, 13 Jul 2001 11:32:05 +0900
- Hello, This depends on program size, execution profile, cpu power, and so on. For an average program on an average machine, certainly a small fraction of a second. Forcing gc cycles is possible and e
- 137. Re: Finding the 'double' resolution (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Mon, 23 Jul 2001 11:11:05 +0900
- If you have control over the Lua environment it would make more sense to just export the info available to C. For example from <float.h>: DBL_DIG DBL_EPSILON DBL_MANT_DIG DBL_MAX DBL_MAX_10_EXP DBL_M
- 138. Re: split/join (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Tue, 24 Jul 2001 19:55:54 +0900
- Some things to consider: * Several robust wiki's are just a single cgi script. * If there was a wiki at tecgraf / lua.org, the Lua authors would lose the complete control they currently have over the
- 139. Re: split/join (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Tue, 24 Jul 2001 20:54:15 +0900
- That's why Jean-Claude and I each started wiki's in the first place. However it takes time and care to put up useful content, and clearly most of us don't have that time which is why the wiki's go mo
- 140. Re: Syntactic sugar cravings (score: 1)
- Author: "John Belmonte" <jvb@...>
- Date: Wed, 25 Jul 2001 10:15:40 +0900
- A while back I made a small patch for 4.0 that takes care of this (see Power Patches page on the Lua Wiki). However my patch doesn't provide the index value. Edgar T's Sol provides exactly what you w
Search by
Namazu v2.0.21