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

113 range strings #117

Merged
merged 5 commits into from
Jan 29, 2020
Merged

113 range strings #117

merged 5 commits into from
Jan 29, 2020

Conversation

skx
Copy link
Owner

@skx skx commented Jan 29, 2020

The foreach primitive now allows iterating over the contents of strings, not just arrays.

Test case added, and a frustrating bug with the OpInc / OpDec primitives fixed - they each left an extra item on the stack.

This closes #113.

@skx skx merged commit 7f3a8a7 into master Jan 29, 2020
@skx skx deleted the 113-range-strings branch January 29, 2020 19:52
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

Successfully merging this pull request may close these issues.

Iteration should work on strings
1 participant