lua-users home
lua-l archive

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


On Wed, 19 May 2010 17:33:57 -0400
Sean Conner <sean@conman.org> wrote:

> Also, while we are at it, drop the while and repeat statement as well. How
> > many loopy [sic] constructs does a language need?  
> 
>   They're there for convenience.  Technically, all you need is a conditional
> and a way of diverting flow control---basically, if and goto---and from
> there you can build up all looping constructs

Technically, all you need is, indeed,... jnz (jump if not zero).
;-)

Denis
________________________________

vit esse estrany ☣

spir.wikidot.com