lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On 25/01/11 05:23, steve donovan wrote:
> On Mon, Jan 24, 2011 at 11:50 PM, David Given <> wrote:
>> Interestingly enough, the absence of a @line directive in Lua is
>> crippling Objective Lua's ability to be useful.
> Although it would not become mainline, a patched Lua specifically
> designed as a flexible back-end is possible and useful: @line and
> goto.

Alas, such a thing would not be interesting to me, simply *because* it's
a patched Lua. Code designed for it wouldn't run on anyone else's
machine. Or on LuaJIT (either version).

Early versions of Clue did actually come with such a patched
interpreter, which I eventually took out because it wasn't useful...

┌─── ───── ─────
│ life←{ ↑1 ⍵∨.^3 4=+/,¯1 0 1∘.⊖¯1 0 1∘.⌽⊂⍵ }
│ --- Conway's Game Of Life, in one line of APL

Attachment: signature.asc
Description: OpenPGP digital signature