lua-users home
lua-l archive

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


On Tue, Jan 25, 2011 at 08:23, steve donovan <steve.j.donovan@gmail.com> wrote:
> On Mon, Jan 24, 2011 at 11:50 PM, David Given <dg@cowlark.com> 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, that would not be useful for me — unless the similar patch would
exist for LJ2. :-)

I have one use-case where goto would greatly simplify the code
generator... But I'm fine with tail recursion.

BTW, @line construct seems to be way out of Lua style. I'm lost at how
should it look to fit to the Lua philosophy better...

Alexander.