Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't particularly dislike that design, but Lua already supports a goto target label `::label::` so I think the following syntax would work better:

    ::outer:: for i = 1, 10 do
        ::inner:: for ii = 1, 5 do
            break inner
            break outer
        end
    end


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: