lua-users home
lua-l archive

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


>  A very pathological case:
>
>        if if == then then then = else else else = end end

Confusing for humans* on first sight, but I see only 1 proper solution to this:

if
 if == then
then
 then = else
else
 else = end
end

*and as said, for parsers much more computing time allowing this kind
of grammars.