Skip to content
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

Break built-in #188

Merged
merged 9 commits into from
Sep 8, 2022
Merged

Break built-in #188

merged 9 commits into from
Sep 8, 2022

Conversation

magicant
Copy link
Owner

@magicant magicant commented Sep 3, 2022

  • Define loop and subshell in yash_env::stack::Frame
  • Push & pop a stack frame when executing a loop
  • Push a stack frame when entering a subshell
  • Define yash_env::stack::Frame::loop_count
  • Implement the built-in
  • Handle Divert::Break in loops

@magicant magicant self-assigned this Sep 3, 2022
@magicant magicant marked this pull request as ready for review September 7, 2022 15:34
@magicant magicant merged commit 2a0d51c into master Sep 8, 2022
@magicant magicant deleted the break_builtin branch September 8, 2022 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant