[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Ah, those uninitiated people...
- From: Olivier Galibert <galibert@...>
- Date: Wed, 13 Jan 2010 20:50:47 +0100
On Wed, Jan 13, 2010 at 05:21:04PM -0200, Luiz Henrique de Figueiredo wrote:
> > The VM would have to be more complex to support goto, and thus slower.
>
> Not really. The VM already uses jumps. If you mean the parser, then ok
> (and there are some semantic trouble points if you add gotos).
Let's see. You'd have to forbid jumping inside or outside of a
function definition (label scope would be the function anyway), and
also to forbid jumping over a "local" declaration. Anything else?
OG.
- References:
- Ah, those uninitiated people..., Alexander Gladysh
- Re: Ah, those uninitiated people..., Enrico Colombini
- Re: Ah, those uninitiated people..., Roberto Ierusalimschy
- Re: Ah, those uninitiated people..., Andrew Wilson
- Re: Ah, those uninitiated people..., Mark Hamburg
- Re: Ah, those uninitiated people..., steve donovan
- Re: Ah, those uninitiated people..., Jerome Vuarand
- Re: Ah, those uninitiated people..., Luiz Henrique de Figueiredo