Closed giann closed 1 month ago
Because I think this project is drawing inspiration from zig I think it should just be the same as zig Labeled-while
outer: while (true) {
while (true) {
if (mabe_break_inner_loop) break;
if (mabe_break_outer_loop) break :outer;
}
}
buzz is not really inspired by zig even though it's implemented with it. It takes more from Dart, Swift and Lua (for its architecture).
I think that starting with the label let it seem like a label could appear anywhere.
To allow breaking outer loops: