lua-users home
lua-l archive

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


On Sun, Jan 23, 2011 at 11:38 PM, David Given <dg@cowlark.com> wrote:
> (Which is one reason why I get irritated by languages that don't have a
> working goto --- it makes the life of madmen like me who like playing
> with code translation vastly harder.)

Imagine trying to get 'goto' into a modern dynamic language this late
in the computer century ....

You could say that C was designed to be a good target for code
generation - #line and goto and so forth.

One could add @line directives to Lua with a token filter, but I also
doubt that the token filter patch will ever make mainstream, for
similar reasons to 'goto'.

Certainly, Lua bytecode is not a stable or universal target...

steve d.