[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (beta-rc1) goto syntax
- From: HyperHacker <hyperhacker@...>
- Date: Fri, 17 Jun 2011 17:17:38 -0600
On Fri, Jun 17, 2011 at 16:46, Charles Nicholson
<charles.nicholson@gmail.com> wrote:
> +1 vote for switch/case!
>
> On Fri, Jun 17, 2011 at 7:57 AM, Fabio Kaminski <fabiokaminski@gmail.com>
> wrote:
>>
>> dont forget that :
>>
>> "goto label"
>>
>> will become
>>
>> "goto 0x4df3..." or JMP <ADDR>
>>
>> when compiled.. so why complicate?
>>
>> when i was in need of goto in C (specially in parsers) a simple goto
>> always solved the problem.. :)
>>
>> by the way.. im ignorant in the 5.2 spec.. does it includes "switch"?
>> i miss it..
>>
>>
>>
>> On Thu, Jun 16, 2011 at 3:46 PM, HyperHacker <hyperhacker@gmail.com>
>> wrote:
>> > On Thu, Jun 16, 2011 at 12:37, Alexandre Erwin Ittner
>> > <alexandre@ittner.com.br> wrote:
>> >> 2011/6/16 HyperHacker <hyperhacker@gmail.com>:
>> >>
>> >>> I suppose there's no technical reason you couldn't have all three:
>> >>
>> >> Too much new reserved words breaking existing code? Language
>> >> complexity?
>> >>
>> >>
>> >> --
>> >> Alexandre Erwin Ittner - alexandre@ittner.com.br
>> >> OpenPGP pubkey 0x0041A1FB @ http://pgp.mit.edu
>> >>
>> >>
>> >
>> > Those aren't technical reasons. (Not that they aren't good reasons...)
>> >
>> > --
>> > Sent from my toaster.
>> >
>> >
>>
>
>
Well if we're adding switch/case, why not continue as well? And if
we're adding continue, why not (insert your favourite feature here)?
:)
That said, switch/case and continue *would* be nice to have...
--
Sent from my toaster.
- References:
- [ANN] Lua 5.2.0 (beta-rc1) now available, Luiz Henrique de Figueiredo
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Alexandre Erwin Ittner
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Frank Meier-Dörnberg
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, David Kastrup
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Frank Meier-Dörnberg
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Eduardo Ochs
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Frank Meier-Dörnberg
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, David Given
- Re: [ANN] Lua 5.2.0 (beta-rc1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.2.0 (beta-rc1) goto syntax, Edgar Toernig
- Re: [ANN] Lua 5.2.0 (beta-rc1) goto syntax, David Kastrup
- Re: [ANN] Lua 5.2.0 (beta-rc1) goto syntax, Edgar Toernig
- Re: [ANN] Lua 5.2.0 (beta-rc1) goto syntax, David Kastrup
- Re: [ANN] Lua 5.2.0 (beta-rc1) goto syntax, HyperHacker
- Re: [ANN] Lua 5.2.0 (beta-rc1) goto syntax, Alexandre Erwin Ittner
- Re: [ANN] Lua 5.2.0 (beta-rc1) goto syntax, HyperHacker
- Re: [ANN] Lua 5.2.0 (beta-rc1) goto syntax, Fabio Kaminski
- Re: [ANN] Lua 5.2.0 (beta-rc1) goto syntax, Charles Nicholson