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

Dealing with Loop Nesting #32

Open
iamxy opened this issue Jul 18, 2023 · 1 comment
Open

Dealing with Loop Nesting #32

iamxy opened this issue Jul 18, 2023 · 1 comment

Comments

@iamxy
Copy link
Collaborator

iamxy commented Jul 18, 2023

Implement a stack in JVM to keep the values ​​of the idx and pc registers

An example for nesting loop:
Loop:
urls = web_search[query.list.current]
Loop:
fetch(urls.list.current)

@ngaut
Copy link
Owner

ngaut commented Jul 18, 2023

It can be two loops instead of nesting loop.

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