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

⚡ Feature: do-while loops #51

Open
wants to merge 12 commits into
base: vardec_varass_dependency
Choose a base branch
from

Conversation

deavmi
Copy link
Contributor

@deavmi deavmi commented May 18, 2024

Please see this.

- Added ability to set a flag for whether or not something is a do while loop
- made `isDoWhile` non-`const` and `private`
- Added `isDoWhileLoop()` method
- Use new method from `WhileLoop` AST node
- Handles the emitting of do-while loops now
- Added `simple_do_while.t`
@deavmi deavmi added the enhancement New feature or request label May 18, 2024
@deavmi deavmi self-assigned this May 18, 2024
- Added `simple_do_while.t` to the emit section
- Added test case for `source/tlang/testing/simple_do_while.t`
- Updated `simple_do_while.t`; removed comments which caused s crash
- Added exit code check for the `simple_do_while.t` test
- Fixed section fo the `simple_do_while.t` test
@deavmi deavmi changed the title Feature/do while loops ⚡ Feature: do-while loops May 18, 2024
- Handles do-while loops now
- Updated code for handling the `WhileLoop` AST statement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant