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: [ Luis: 514 ] [ Carvalho: 322 ]

Total 256 documents matching your query.

241. Re: Lua workshop (score: 447)
Author: Luis Carvalho <carvalho@...>
Date: Thu, 18 Nov 2004 14:15:36 -0500
Agreed. :) My vote also goes to Harvard or any other place in New England. Cheers, Luis. -- Mathematicians practice absolute freedom. -- Henry Adams -- Luis Carvalho Applied Math PhD Student - Brown
242. Multidimensional matrices in Lua (score: 482)
Author: Luis Carvalho <carvalho@...>
Date: Thu, 29 Jan 2004 22:03:06 -0500
Hi guys, I made a few enhancements in my small library to handle matrices in Lua. Grab the goodies at: http://www.dam.brown.edu/people/carvalho/luamatrix-0.1.tar.gz As usual, critics, opinions and su
243. Re: Multidimensional matrices (score: 447)
Author: Luis Carvalho <carvalho@...>
Date: Wed, 28 Jan 2004 18:33:04 -0500
Hallo Edgar, Thanks very much for the great suggestion. As I said, I am very green. :) I'll keep polishing the lib, and adding more numerical stuff. Cheers, Luis. -- Mathematicians practice absolute
244. Re: Multidimensional matrices (score: 18)
Author: Edgar Toernig <froese@...>
Date: Wed, 28 Jan 2004 21:35:20 +0100
Afaics, it's totally unnecessary. Every userdata you push via pushrawuserdata has a luaL_ref. Just use it to push the userdata back onto the stack: lua_rawgeti(L, LUA_REGISTRYINDEX, matrix->ref). The
245. Multidimensional matrices (score: 482)
Author: Luis Carvalho <carvalho@...>
Date: Wed, 28 Jan 2004 14:39:04 -0500
Hi guys, I decided to tackle a little bit with a multidimensional matrix representation in lua, and I came up with a nice solution (I guess :)). The simplest way I found to allow correct indexing was
246. Re[2]: NIL in arith. and string op. (score: 105)
Author: "Mauricio Ferreira" <malf@...>
Date: 25 Dec 2003 22:40:38 -0300
If It is possible, How can I make the operations with the nil value? ==
247. Re: NIL in arith. and string op. (score: 491)
Author: Luis Carvalho <carvalho@...>
Date: Thu, 25 Dec 2003 09:08:27 -0500
I think it is, but why? A simpler solution is: a = 2 + (nil or 0) + 5 -- a = 7 c = "Merry " .. (nil or "") .. "Christmas!" Cheers, Luis. - -- Mathematicians practice absolute freedom. -- Henry Adams
248. Re: GNU Source-highlight (score: 491)
Author: Luis Carvalho <carvalho@...>
Date: Wed, 8 Oct 2003 20:46:30 -0400
Also, there's an easy option in Vim editor for generating html from code in a variety of syntaxes -- all supported by Vim. There's some extra flexibility since one can generate for different styles (
249. Re: Free variables (score: 491)
Author: Luis Carvalho <carvalho@...>
Date: Sun, 28 Sep 2003 21:35:29 -0400
Ok, that's what I thought. Just wanted to be sure of it. For me it's excellent. Thanks for the reply. Cheers, Luis. - -- Mathematicians practice absolute freedom. -- Henry Adams - -- Luis Carvalho Ap
250. Free variables (score: 491)
Author: Luis Carvalho <carvalho@...>
Date: Sun, 28 Sep 2003 16:40:17 -0400
Hi guys, Is there a way to *free* a variable? I mean, without resorting to garbage collection? Cheers, Luis. - -- Mathematicians practice absolute freedom. -- Henry Adams - -- Luis Carvalho Applied M
251. Re: Problem loading c++ library (score: 27)
Author: Mark Hamburg <mhamburg@...>
Date: Thu, 25 Sep 2003 08:29:06 -0700
You probably need: extern "C" instead of: LUALIB_API You might need an underscore in front of the function name when loading it. Mark on 9/25/03 6:52 AM, Luis Carvalho at carvalho@fritz.cfm.brown.edu
252. Re: Problem loading c++ library (score: 18)
Author: Alex Sandro Queiroz e Silva <ventonegro@...>
Date: Thu, 25 Sep 2003 11:09:38 -0300
Hallo, Hi guys, I'm having some trouble loading a c++ library with loadlib. Suppose I have a file lfoo.cc: C++ symbols are usually mangled with strange names, maybe you are trying to load the wrong n
253. Problem loading c++ library (score: 491)
Author: Luis Carvalho <carvalho@...>
Date: Thu, 25 Sep 2003 09:52:13 -0400
Hi guys, I'm having some trouble loading a c++ library with loadlib. Suppose I have a file lfoo.cc: extern "C" { include <lua.h> include <lauxlib.h> include <lualib.h> } include <iostream> static int
254. Re: Simple questions (score: 491)
Author: Luis Carvalho <carvalho@...>
Date: Tue, 12 Aug 2003 09:58:08 -0400
Thanks Nick, nice way to see it. I continue using my workaround: local _,y = f() x = nil or y -- and now x = 99 Is there a way to assign x in one line? Just for elegance sake? :) Thanks for the refer
255. Re: Simple questions (score: 491)
Author: Luis Carvalho <carvalho@...>
Date: Tue, 12 Aug 2003 09:04:29 -0400
Thanks Ariel! This assignment can be really tricky. :) Thanks again, Luis. - -- Mathematicians practice absolute freedom. -- Henry Adams - -- Luis Carvalho Applied Math PhD Student Brown University c
256. Simple questions (score: 491)
Author: Luis Carvalho <carvalho@...>
Date: Mon, 11 Aug 2003 18:05:05 -0400
Hi guys, I'm kinda new to lua and have been trying it for some time now. Well, I must say I'm really happy with the results! However, I found some *problems*, and so I'd like to ask some questions...

Search by Namazu v2.0.21