Search lua-l
This index contains 143,615 documents and
1,774,615 keywords. Last update on
2023-03-09 .
- 261. [PATCH] make light userdata a little bit heavier (score: 47)
- Author: Peng Zhicheng <pengzhicheng1986@...>
- Date: Sun, 20 Apr 2014 19:50:42 +0800
- Hi list, I want to share some little work I have done recently, mainly for my special personal needs. maybe someone else would find it useful as well. short description: I use as glue logics for some
- 262. LPEG User defined patten handler collection callback (score: 47)
- Author: Daurnimator <quae@...>
- Date: Fri, 22 Jun 2012 01:57:34 +1000
- After playing with the lpeg user defined patterns, I found that I needed a callback for when my patten was collected. The patch below adds a __gc handler and the "GCFunc" callback type. Hopefully thi
- 263. Re: Fleece: fast Lua to JSON (score: 47)
- Author: Henning Diedrich <hd2010@...>
- Date: Mon, 21 Mar 2011 14:49:17 +0100
- Hi Alex, I think it's problem of believe and the cure is simply trying it out. I'd be happy if anybody felt like supplying a JIT-tuned example to support Alex' assumption. As I said, I couldn't make
- 264. LuaSocket Patch for CR Handling (score: 47)
- Author: HyperHacker <hyperhacker@...>
- Date: Tue, 30 Nov 2010 21:46:57 -0700
- I've been playing with IRC for a bit now and one thing that's been bothering me is that the specs allow for a line to be terminated with just CR. LuaSocket however discards CRs and treats only LF as
- 265. Adding comparision function (score: 47)
- Author: Jim Mellander <jmellander@...>
- Date: Tue, 28 Feb 2006 15:42:31 -0800
- Hi everyone: For a custom application (parsing netflow data into input records for a custom IDS called Bro), I embarked on a search for the proverbial "language that didn't suck", which would combine
- 266. Re: Lua: Multithreading, Precompiled Chunks (score: 47)
- Author: lhf (Luiz Henrique de Figueiredo)
- Date: Sat, 7 Mar 1998 10:49:14 -0300
- Some people have changed Lua to work in a multithreaded environment. Lua 3.1 has support for multiple environments, with a single global variable pointing to the current environment. This should hel
- 267. Re: Status of ltokens? (score: 46)
- Author: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 16 Oct 2006 13:30:36 -0300
- I'm sorry but I have no immediate plans to update ltokens. Too much to do, too little time... However, please find attached a version of ltokens that runs with Lua 5.1. Note that it's not just an up
- 268. traversing nested tables in C (score: 46)
- Author: Tassilo von Parseval <tassilo.von.parseval@...>
- Date: Wed, 16 Jun 2004 09:44:01 +0200
- Hi there, I am currently experiencing unpleasant segfaults when recursively traversing Lua tables. This is the Lua function whose return value I'd like to traverse: function foo(a) local table = { x=
- 269. Different number of arguments in Lua stack in set hook function in Lua 5..4 vs Lua 5.2 (score: 45)
- Author: aman agrawal <aman.161089@...>
- Date: Mon, 2 Aug 2021 15:15:25 +0530
- Hi, I'm trying to run the attached program in Lua 5.2.2 and 5.4.3 but I'm getting different number of arguments in Lua stack when I check in hook function. Is anything changed related to Lua hook fun
- 270. Re: [FUN] CodeGolf: solve equation x^x=C (score: 45)
- Author: Coda Highland <chighland@...>
- Date: Wed, 26 Jun 2019 18:32:26 -0500
- On Wed, Jun 26, 2019 at 6:23 PM Philippe Verdy <verdy_p@wanadoo.fr> wrote: Le mer. 26 juin 2019 à 22:47, Egor Skriptunoff <egor.skriptunoff@gmail.com> a écrit : Global variable "C" contains numeric v
- 271. Re: Array subtype is conceptually simplest (score: 45)
- Author: pocomane <pocomane_7a@...>
- Date: Tue, 23 Oct 2018 17:11:56 +0200
- Some questions. - Are you trying to address the problems stated in http://lua-users.org/lists/lua-l/2018-03/msg00239.html with this proposal? If yes, can you clarify the mechanim to solve them? - Why
- 272. Re: Significant newlines (score: 45)
- Author: Sean Conner <sean@...>
- Date: Wed, 31 Aug 2016 21:25:06 -0400
- It was thus said that the Great Soni L. once stated: This tells me 1) you already knew about \z and how it works, or 2) you read Martin's reply and didn't mention it. Either one shows just how annoyi
- 273. Re: Simple lua code crashing... (score: 45)
- Author: Rena <hyperhacker@...>
- Date: Fri, 27 Jun 2014 23:06:34 -0400
- It's because \n and \r are escape sequences in C, as well. So, the compiler translates them to line feed/carriage return, and your Lua code ends up looking like: local offset = string.find(msg, " ",
- 274. Re: (no subject) (score: 45)
- Author: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 3 Feb 2014 09:56:21 -0200
- Here is a 64-bit version. -- usage: lua luac.lua [file.lua]* [-L [module.lua]*] -- -- creates a precompiled chunk that preloads all modules listed after -- -L and then runs all programs listed befor
- 275. Re: Multidimensional Arrays (score: 45)
- Author: Steve Litt <slitt@...>
- Date: Fri, 22 Jul 2011 13:11:11 -0400
- Michelle, Everything Dirk writes below is true, and I think it's vital to add one thing. A table is an official Lua data type. An array is a computer science concept that *can be implemented* with a
- 276. Re: [OT] Why doesn't the lua list get replaced with a forum ? (score: 45)
- Author: Dave Dodge <dododge@...>
- Date: Fri, 29 Sep 2006 19:28:48 -0400
- The problem with that particular approach (for me) is that I do like seeing the author names. If I could alter the formatting for just Lua messages it might be okay, but I didn't see any hook to acco
- 277. RE: Re[2]: why no "continue" statement for loops? (score: 45)
- Author: "Bilyk, Alex" <ABilyk@...>
- Date: Mon, 23 Jun 2003 16:19:09 -0700
- Adding continue would be nice. It is pretty useful and the patch looked very small. Just out of interest, what happens in the following example? function foo() local foo2 = function() while true do b
- 278. Re: cooperative multitasking (score: 45)
- Author: Luiz Henrique de Figueiredo <lhf@...>
- Date: Fri, 7 Jun 2002 08:17:38 -0300
- This is implemented in Lua 5.0w0. Here is an example program by Roberto that finds primes. Sorry for the comments in Portuguese. --lhf -- co-rotina para gerar todos os números de 2 a n function gen
- 279. Re: Question regarding the Lua Debug interfaces. (score: 45)
- Author: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 1 Mar 2001 11:15:16 -0300 (EST)
- I don't know what is wrong, but when the same thing is run from Lua it works: I've changed function3 to: function function3() print(" in function3") --> breakpoint set here trace() end where functio
- 280. Re: a question about csv parser (score: 44)
- Author: Dave Nichols <dave.nichols@...>
- Date: Thu, 13 Sep 2007 10:11:14 +0100
- This is a coroutine based system I use: --this is implemented as a coroutine that provides decoded lines --usage is as follows: --NextLine = coroutine.wrap(CSVreader) --lineno,line = NextLine(FileNam
Search by
Namazu v2.0.21