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

Potential Loop Bug #4

Open
bangyen opened this issue Jun 14, 2021 · 2 comments
Open

Potential Loop Bug #4

bangyen opened this issue Jun 14, 2021 · 2 comments

Comments

@bangyen
Copy link

bangyen commented Jun 14, 2021

When two HHHH commands are adjacent, because the first one skips the second, an error occurs since the interpreter believes that the loop brackets are unmatched. For example,

AHHH
HHHH
HHHH
hhhh
hhhh

throws an error. Is skipping the first command after each bracket intentional? It seems to do nothing except introduce problems when the following command is either HHHH or hhhh. I think it would make more sense to remove that functionality.

@bangyen
Copy link
Author

bangyen commented Jun 14, 2021

Additionally, the following code throws an error because the HHHH command skips the corresponding hhhh command and quits due to bounds-checking:

AHHH
HHHH
hhhh

@horttanainen
Copy link

I hope this issue will be fixed soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants