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

Add support for while loop to parser #24

Closed
pjattke opened this issue Sep 22, 2020 · 0 comments
Closed

Add support for while loop to parser #24

pjattke opened this issue Sep 22, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@pjattke
Copy link
Contributor

pjattke commented Sep 22, 2020

Currently, the parser only supports for loops. A simple workaround that does not require to extend the AST would be to transform parsed while loops into for loops of the form for ( ; condition ; ), i.e., without initializer and update statements.

@pjattke pjattke added the enhancement New feature or request label Sep 22, 2020
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

No branches or pull requests

2 participants