-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loop labels #199
Comments
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To allow breaking outer loops:
The text was updated successfully, but these errors were encountered: