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.

101. Re: Read ieee-754-2008 four-byte floating-point number from binary file? (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sun, 11 Apr 2010 20:02:32 -0400
Take a look at Roberto's struct library, http://www.inf.puc-rio.br/~roberto/struct/ or LHF's lpack, http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/ Using the former: $ lua -lstruct -e 'print(struct.unpa
102. Re: Summer of Code - Lua projects (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Fri, 26 Mar 2010 06:30:13 -0400
Hi all, (also CC'd to the GSoC list) <snip> I'd just like to point out another project: Lua as a procedural language in PostgreSQL. Check http://www.postgresql.org/developer/summerofcode [1] in Examp
103. Re: setfenv/getfenv (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Tue, 12 Jan 2010 15:04:36 -0500
<snip> <snip> How about this approach? include <lua.h> include <lauxlib.h> static int loadenv_caller (lua_State *L) { lua_settop(L, 1); lua_pushvalue(L, lua_upvalueindex(1)); if (lua_type(L, 1) == LU
104. Re: [ANN] LuaHelp (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Wed, 30 Dec 2009 19:49:59 -0500
Hi David, Thank you for your comments. <snip> I wanted to borrow the logic from Lua's module system, so I got lazy and simply ripped a big chunk from loadlib.c. There might be some other reasons sinc
105. Re: [ANN] LuaHelp (score: 18)
Author: David Manura <dm.lua@...>
Date: Tue, 29 Dec 2009 21:57:40 -0500
Some observations: - Is there a reason help.c is written in C rather than Lua? - What's the name of the syntax the help pages are written in? It appears markdown inspired. - One alternative to help"m
106. [ANN] LuaHelp (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sun, 13 Dec 2009 10:56:45 -0500
Hi, I'm releasing LuaHelp, a simple manual page system for the Lua interpreter. LuaHelp is under public domain and contains lhp (Lua Help Pages) -- I was thinking about Lua Help Files, but the acrony
107. Re: [ANN] Luabins ? Trivial Lua Binary Serialization Library (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Sun, 22 Feb 2009 20:57:11 -0500
Check http://lua-users.org/lists/lua-l/2007-05/msg00328.html for a simple pickler based on Roberto's struct library that recursively serializes tables (and functions). It might give you some ideas.
108. Re: Nested userdata (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Mon, 16 Feb 2009 15:07:15 -0500
Hi Jonathan, Try something like this: include <lua.h> include <lauxlib.h> typedef struct { int x, y; } A; typedef struct { A a; } B; static A** A_push (lua_State *L, A* a) { A **p = (A**) lua_newuser
109. Re: [ANN] Lua interface in Vim (score: 26)
Author: Peter Odding <xolox@...>
Date: Mon, 01 Sep 2008 20:33:54 +0200
I guess Vim users are getting more attention in the list lately... :) I've implemented a Lua interface for Vim in the attached patch against vim-7.2. Any feedback is welcome, but I recommend posting
110. [ANN] Lua interface in Vim (score: 297)
Author: Luis Carvalho <lexcarvalho@...>
Date: Mon, 1 Sep 2008 13:24:59 -0400
Hi, I guess Vim users are getting more attention in the list lately... :) I've implemented a Lua interface for Vim in the attached patch against vim-7.2. Any feedback is welcome, but I recommend post
111. Re: [ANN] Simulua (score: 78)
Author: Linker <linker.m.lin@...>
Date: Fri, 22 Aug 2008 14:01:21 +0800
ConcurrentLua is something link Erlang/OTP system. On Thu, Aug 21, 2008 at 7:13 AM, Luis Carvalho <carvalho@dam.brown.edu> wrote: Hi, I am happy to annouce the availability of Simulua! "Simulua is a
112. Re: [ANN] Simulua (score: 78)
Author: Linker <linker.m.lin@...>
Date: Fri, 22 Aug 2008 13:55:06 +0800
Can you compare Simulua vs ConcurrentLua ? On Thu, Aug 21, 2008 at 7:13 AM, Luis Carvalho <carvalho@dam.brown.edu> wrote: Hi, I am happy to annouce the availability of Simulua! "Simulua is a discrete
113. Re: Heaps? (score: 314)
Author: "Luis Carvalho (Kozure)" <lexcarvalho@...>
Date: Thu, 21 Aug 2008 10:33:36 -0400
I'd also like to share my implementation of skew heaps in case someone has interest. It's based on the original paper by Tarjan and Sleator. Test case: $ lua Lua 5.1.2 Copyright (C) 1994-2007 Lua.or
114. [ANN] Simulua (score: 438)
Author: Luis Carvalho <carvalho@...>
Date: Wed, 20 Aug 2008 19:13:28 -0400
Hi, I am happy to annouce the availability of Simulua! "Simulua is a discrete-event simulation (DES) library for Lua, in the same tradition and flavor of the SIMULA family of programming languages. T
115. Re: Lua Workshop Video - Numlua (score: 54)
Author: "Eric Tetz" <erictetz@...>
Date: Tue, 19 Aug 2008 23:44:25 -0700
Is there a webpage somewhere with links to all these? On Tue, Aug 19, 2008 at 5:31 PM, kino <kinomatic@gmail.com> wrote: Hi lua users, The next video presentation from the Lua Workshop in DC is now u
116. Lua Workshop Video - Numlua (score: 27)
Author: kino <kinomatic@...>
Date: Tue, 19 Aug 2008 20:31:18 -0400
Hi lua users, The next video presentation from the Lua Workshop in DC is now up for viewing: http://www.vimeo.com/1561809 Numlua: a numerical package for Lua Luis Carvalho Brown University at the Lua
117. Re: Set operators in Lua (score: 438)
Author: Luis Carvalho <carvalho@...>
Date: Wed, 30 Jul 2008 10:14:53 -0400
No, but it shouldn't be hard. Here's a simple take at it: -- Set.lua local pairs, setmetatable = pairs, setmetatable local mt -- metatable mt = { __add = function(s1, s2) -- union local s = {} for e
118. Re: lua not anymore in tiobe top 20 (score: 18)
Author: Luiz Henrique de Figueiredo <lhf@...>
Date: Mon, 14 Apr 2008 08:22:32 -0300
The survey is not a poll; it's a permanent channel for us to know the Lua community better. So, there are no results to be published. If you want to conduct a poll, you can use the wiki at lua-users
119. Re: lpack question (score: 438)
Author: Luis Carvalho <carvalho@...>
Date: Wed, 26 Mar 2008 14:33:48 -0400
Oops! Better: local pos, mopt_unpack = string.unpack(block, 'i') Sorry for the noise. As a suggestion, I guess a more consistent interface would be pack(f, ...) and unpack(f, s [,init]), similarly t
120. Re: lpack question (score: 438)
Author: Luis Carvalho <carvalho@...>
Date: Wed, 26 Mar 2008 14:12:20 -0400
I think you want local pos, mopt_unpack = string.unpack('i', block) Most likely your long has 64 bits, which makes string.unpack return 1. Cheers, Luis. -- A mathematician is a device for turning co

Search by Namazu v2.0.21