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

Throw out DO-LOOP #57

Open
larsbrinkhoff opened this issue May 17, 2017 · 1 comment
Open

Throw out DO-LOOP #57

larsbrinkhoff opened this issue May 17, 2017 · 1 comment

Comments

@larsbrinkhoff
Copy link
Owner

larsbrinkhoff commented May 17, 2017

Remove (LOOP) from nucleus. Replace uses of DO-LOOP with FOR-NEXT in the kernel. Provide DO-LOOP in a compatability layer.

https://www.reddit.com/r/Forth/comments/6b9lsz/alternatives_to_loop/

@larsbrinkhoff
Copy link
Owner Author

@lowfatcomputing brought up an intresting idea: Use HERE as the index inside the loop.

https://www.reddit.com/r/Forth/comments/6loglg/loops_that_can_be_factored_use_the_dictionary/

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

No branches or pull requests

1 participant