lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: proposal: state machine syntax also usable for continue / nested break
From
: Paul Hudson <phudson@
...
>
Date
: Fri, 28 Jan 2011 16:20:44 +0000
In Lua, we favor generic and powerful constructs. Actually, a 'goto'
would be almost perfect.
Can we have computed go to?
http://en.wikipedia.org/wiki/Goto#Computed_GOTO
(I am joking, but it would actually fit quite well with the current proposal.
break (n) :label1: :label2:
anyone?)
Or if we can't have that, how about "COMEFROM" (
http://en.wikipedia.org/wiki/COMEFROM
)?
Paul
Follow-Ups
:
Re: proposal: state machine syntax also usable for continue / nested break
,
Enrico Colombini
Re: proposal: state machine syntax also usable for continue / nested break
,
Roberto Ierusalimschy
Re: proposal: state machine syntax also usable for continue / nested break
,
Tony Finch
Re: proposal: state machine syntax also usable for continue / nested break
,
Florian Weimer
References
:
proposal: state machine syntax also usable for continue / nested break
,
David Manura
Re: proposal: state machine syntax also usable for continue / nested break
,
Axel Kittenberger
Re: proposal: state machine syntax also usable for continue / nested break
,
Roberto Ierusalimschy
Prev by Date:
Re: I'd give my right arm for a continue statement
Next by Date:
Re: proposal: state machine syntax also usable for continue / nested break
Previous by thread:
Re: proposal: state machine syntax also usable for continue / nested break
Next by thread:
Re: proposal: state machine syntax also usable for continue / nested break
Index(es):
Date
Thread