lua-users home
lua-l archive

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

On 25/06/2011 18.58, Xavier Wang wrote:


Some Idea:
may be the last one statement of a block maybe a expression, so we can
do condition or error( msg ) end

IIRC one of the objection of this approach (or similar ones proposed for "expression as statements") is that they confuse the parser, but
I'm not an expert, so I cannot comment on this.

this may better.

I like the idea of lazy evaluation, also.