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: [ break: 4996 ] [ n: 11587 ]

Total 1026 documents matching your query.

241. Re: Proposal for a new construct in Lua (score: 50)
Author: Gaspard Bucher <gaspard@...>
Date: Sat, 14 May 2011 19:49:16 +0000
I created a Turing object in C++ (with a Ragel parser) that implements state machines for a show a while ago. It's a very powerful tool to deal with conditionals/default values and states. The syntax
242. Re: traversing nested tables in C (score: 50)
Author: "Grisha" <grisha@...>
Date: Wed, 16 Jun 2004 11:52:59 +0400
Hi, Tassilo When you traverse nested table, you call walk(L, -1), so your walk function does this: void walk (L, -1) { lua_pushnil(L); // now nil is at -1 position !!!! printf("idx=%i\n", -1); while
243. Re: [ANN] Smileua 1^.^0, a language that smiles (score: 49)
Author: Graham Wakefield <wakefield@...>
Date: Mon, 22 Aug 2011 17:10:51 -0700
Tempting: http://lolcode.com/implementations/lua-translator
244. Re: [ANN] Smileua 1^.^0, a language that smiles (score: 49)
Author: "Dimiter \"malkia\" Stanev" <malkia@...>
Date: Mon, 22 Aug 2011 09:46:42 -0700
Heh :) Cool! I did some "translating" with google, and it came as Lua Rindo (laughing moon), or Lua Sorrindo (smiling moon) hehehehe On 8/22/11 2:30 AM, Axel Kittenberger wrote: Inspired by MoonScrip
245. Re: [ANN] Smileua 1^.^0, a language that smiles (score: 49)
Author: "Peter Loveday" <peter@...>
Date: Mon, 22 Aug 2011 21:23:30 +0930
Genius :) Inspired by MoonScript I too made a compiles-to-lua-language to sweeten your Monday. Decades over debates about syntax(1) of languages and the rise and fall of languages was actually pendul
246. [ANN] Smileua 1^.^0, a language that smiles (score: 49)
Author: Axel Kittenberger <axkibe@...>
Date: Mon, 22 Aug 2011 11:30:30 +0200
Inspired by MoonScript I too made a compiles-to-lua-language to sweeten your Monday. Decades over debates about syntax(1) of languages and the rise and fall of languages was actually pendulum between
247. Re: Lua need 1M memory? (score: 49)
Author: "Leo Razoumov" <slonik.az@...>
Date: Sun, 26 Nov 2006 06:59:46 -0500
On 11/15/06, jason zhang <jzhang@sunrisetelecom.com.cn> wrote: Thank you so much. -- Original Message -- From: "Bennett Todd" <bet@rahul.net> To: "Lua list" <lua@bazar2.conectiva.com.br> Sent: Wednes
248. Some lua-5.0.2 patches, and PlayStation2 binary distrib. (score: 49)
Author: Nicolas Noble <pixel@...>
Date: Sun, 02 Jan 2005 07:44:36 +0100
Hello all, First, I'd like to tell you that I compiled lua-5.0.2 for "homebrew" on PlayStation2 and gave out a binary distribution of it on the ps2dev.net website. I also added a link at the lua-wiki
249. Re: cooperative multitasking (score: 49)
Author: Philippe Lhoste <PhiLho@...>
Date: Fri, 7 Jun 2002 14:22:31 +0200 (MEST)
state, It work fine on my box. I translated the comments using Google, but I still don't understand how this work, it is black magic for me :-) I will study carefully the upcoming manual... -- Co-ro
250. Adding functors to Lua (C++ specific) (score: 49)
Author: "Joshua Jensen" <jjensen@...>
Date: Wed, 17 Apr 2002 02:19:52 -0600
I've always had to hack my Lua callback C functions to get them to call the appropriate C++ member functions. There are some elegant workarounds, such as using Luna, but I decided to bite the bullet
251. Re: Syntax highlighting in / for Lua (score: 49)
Author: "Nick Trout" <nick@...>
Date: Mon, 6 Aug 2001 17:55:35 +0100
Just an idea for code clarity: function makeDict(t) local d for i=1,getn(t) do d[ t[i] ]=1 end return d } tokens = makeDict { "~=", "<=", ">=", "<", ">", "==", "=", "+", "-", "*", etc } In a private
252. Syntax highlighting in / for Lua (score: 49)
Author: Philippe Lhoste <PhiLho@...>
Date: Mon, 6 Aug 2001 18:35:42 +0200 (MEST)
In a private thread about lua-users.org, John Belmonte, Nick Trout and myself were talking about automatically doing syntax highlighting of Lua files. I want to make a Lua syntax highlighter for Lua
253. Re: In praise of globals (score: 48)
Author: Philipp Janda <siffiejoe@...>
Date: Fri, 26 Apr 2013 07:03:58 +0200
Am 26.04.2013 03:15 schröbte Philipp Janda: "Features" of this prototype: - I needed to introduce another magic upvalue (currently named ___MAGIC___), which you must not use in your interactive code
254. Re: LuaJIT FFI/GStreamer? (score: 48)
Author: Tiago Katcipis <katcipis@...>
Date: Thu, 27 Oct 2011 09:25:20 -0200
255. Re: LuaJIT FFI/GStreamer? (score: 48)
Author: Ralf Van Bogaert <pooshhmao@...>
Date: Thu, 27 Oct 2011 12:16:32 +0200
Hi, Thanks for your reply. It was your project I learned to use GStreamer via lgob-gst from; however I can find NO further documentation on how to use this besides the examples you have provided. I'm
256. Re: LuaJIT FFI/GStreamer? (score: 48)
Author: Daurnimator <quae@...>
Date: Thu, 27 Oct 2011 10:43:33 +1100
You can't do this with the FFI yet; there is no callback support. I'm using ffmpeg instead; try test.lua in https://github.com/daurnimator/lomp2/
257. LuaJIT FFI/GStreamer? (score: 48)
Author: Ralf Van Bogaert <pooshhmao@...>
Date: Thu, 27 Oct 2011 01:39:07 +0200
Hi list, This is my first post here, I've been using Lua for more than five years now for various personal and professional projects. I would like to incorporate Gstreamer in my project. There are a
258. Re: I'd give my right arm for a continue statement (score: 48)
Author: Axel Kittenberger <axkibe@...>
Date: Thu, 27 Jan 2011 23:34:59 +0100
First let me thank you for openmindness to this issue! I like the idea of labeled breaks, more power, nothihng really breaking. However, I doubt if it really is a suitable replacement for "continue".
259. Re: for loops (score: 48)
Author: Diego Fernandes Nehab <diego@...>
Date: Fri, 31 Oct 1997 18:25:56 -0200
Hi, I agree with the ambiguity of the break statement. And, although I also agree that it's easy to simulate a break statement with standard blocks, I still think it's much easier to stop a loop at o
260. Re: Handling conflicts caused by command-line editing, revisited (score: 47)
Author: Andrew Gierth <andrew@...>
Date: Fri, 20 Jul 2018 00:40:44 +0100
Andrew> 2) patch lua.c to make it load libedit/libreadline dynamically Andrew> rather than explicitly linking it, and not load it until it's Andrew> needed (and maybe add an option to disable it eve

Search by Namazu v2.0.21