-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Pull Request <!-- Provide a general summary of your changes in the title above --> <!-- Optional fields can be removed if not applicable --> ## Description Add `break` and `continue` syntax to the compiler. The interpreter shall no receive updates for now. <!-- Briefly describe the purpose of this pull request. --> ## Changes Made <!-- Summarize the changes you've made in this pull request. --> `break` allows us to exit a loo and `continue` to skip the rest of the loop and go back to the `while` condition. They compile just to `Jump` instructions. ## Related Issue <!-- Optional --> <!-- Link to the related issue, e.g., "Closes #123" or "Fixes #456" --> Closes #4 ## Checklist - [x] I have self-reviewed my code - [x] Code follows project's style guidelines - [x] Tests added and passing - [x] Documentation updated (if needed)
- Loading branch information
Showing
13 changed files
with
655 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.