lua-users home
lua-l archive

Search lua-l

This index contains 143,604 documents and 1,774,497 keywords. Last update on 2023-03-08 .

Query: [How to search]

Display: Description: Sort by:

Results:

References: [ +author:"John Belmonte": 478 ]

Total 478 documents matching your query.

1. why tags? (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Sun, 26 Mar 2000 19:06:28 -0800
Hello, With recent mention of the designers meeting to discuss about what can be removed from Lua in mind... I've been studying Lua and I noticed that the concept of tags was not present in the langu
2. Re: Lua Japanese documents (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Thu, 30 Mar 2000 02:20:18 -0800
I'm considering using Lua on an upcoming project, but with most of my co-workers being Japanese the lack of any documentation has been a nagging concern. It's good to hear that some translation work
3. global environment special case (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Wed, 19 Apr 2000 15:08:07 +0900
Recently I've been toying around with an implementation of overloaded functions in Lua. I ran into an issue that must be well-known by anyone working on Lua extensions. I found that at the lowest lev
4. upvalues: doc suggestions and another opinion (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Thu, 20 Apr 2000 13:19:55 +0900
Edgar's patch addressed two limitations of upvalues: - they may not be modified - only the next enclosing scope may be accessed Before reading his post, I had not realized that upvalues had these lim
5. Re: Python and Lua (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Thu, 20 Apr 2000 21:36:39 +0900
I found that reading the paper "Lua-an extensible extension language" on the documentation page of the Lua web site gave me good insight into what Lua is all about. It has perspective that you can't
6. Re: global environment special case (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Fri, 21 Apr 2000 00:09:17 +0900
That sounds like a paradox... a simple assignment to what? I don't think the global table variable itself can exist as a global. For this reason I suggested a getter function globaltable(). However i
7. Re: Python and Lua (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Fri, 21 Apr 2000 13:59:20 +0900
The macro system of Scheme, which is a very clean dialect of Lisp, is probably a good one to study. Following is a link to the macro chapter of "An Introduction to Scheme and its Implementation". Pos
8. Re: global environment special case (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Tue, 25 Apr 2000 17:31:57 +0900
be Recently I did a test to determine how the "global environment as a table" change would affect an extension. I re-implemented my function overloading extension to operate on tables instead of the
9. experience implementing a module system (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Mon, 1 May 2000 11:43:49 +0900
Recently I had a go at implementing a module system in Lua. I'll describe how it works and mention the limitations with Lua I ran into. My motivation was to make a better module system than what is p
10. Re: experience implementing a module system (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Wed, 3 May 2000 10:01:35 +0900
Speaking of orthogonal handling and upvalues, I would like to use the upvalue syntax in the global scope. Combined with your patch I could just write %var everywhere without having to think about wha
11. Re: [ANNOUNCE] Lua 4.0 (alpha) now available (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Wed, 3 May 2000 10:10:01 +0900
I always write C++ loops as "for (int i; ... )", so the Lua for loop is perfectly natural to me. In practice I rarely need to access the iterator variable outside the loop, and maybe that's when I'm
12. function kidnapping (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Mon, 8 May 2000 12:07:11 +0900
Given some variable definitions in the global scope n = 55 function func(x) return n * x end Lua allows us to move such variables to a table using the language's reflexive facilities or manually: t =
13. Re: function kidnapping (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Mon, 8 May 2000 21:40:21 +0900
via Of course that depends on how you implement the tagmethods ("getglobal", etc). Probably you would have them search in t first, and if it isn't there use rawgetglobal(). Or maybe when the namespac
14. Re: Lua on DOS with 8086 (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Tue, 20 Jun 2000 12:19:36 +0900
Having recently ported Lua to an embedded system (no change to Lua... just a matter of patching up the ANSI holes in the system's library), now I'm trying to tackle Python. Python is huge in code and
15. basic tolua (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Mon, 26 Jun 2000 22:03:40 +0900
I'm having trouble figuring out tolua 3.2. Using the pkg file below, why isn't valid C code generated? (Problem seems to be caused by the "unsigned".) Secondly, how do I create an instance of my stru
16. Re: basic tolua (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Tue, 27 Jun 2000 12:11:35 +0900
That workaround doesn't help for char, long, etc. A better workaround is to use typedef such as: typedef unsigned char u_char;
17. Re: basic tolua (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Tue, 27 Jun 2000 12:18:03 +0900
(Sorry for the noise, hit the send button by accident on the last message. Continuing...) Can you think of a nice way for tolua to automatically provide structure instantiation? Maybe it could treat
18. lua_type in 4.0b (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Fri, 22 Sep 2000 19:26:33 +0900
Why not have lua_type return an enumeration of the types? This will eliminate the "dirty trick" (which everyone will certainly do instead of messing with string compares). If it's believed that strin
19. compile warning (4.0 beta) (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Sat, 23 Sep 2000 01:03:22 +0900
With gcc these warnings are emitted on a 64 bit mips platform because a pointer is 32 bits, while a long is 64. Maybe not much that can be done about this. -John -- Cc src/lstring.o src/lstring.c: In
20. tag methods question (score: 1)
Author: "John Belmonte" <jvb@...>
Date: Sat, 23 Sep 2000 05:24:28 +0900
Section 4.8 of the manual says that the tag method events are hard coded into the interpreter. Does this apply to the setglobal/getglobal events even though they are defined in the basic library? I'm

Search by Namazu v2.0.21