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

Implement variable iterable ranges #4

Closed
LefterisJP opened this issue Feb 5, 2017 · 1 comment
Closed

Implement variable iterable ranges #4

LefterisJP opened this issue Feb 5, 2017 · 1 comment

Comments

@LefterisJP
Copy link
Contributor

LefterisJP commented Feb 5, 2017

At the moment in refu we can only have a range with constant numbers such as:

for a in 1:2:10 {
}

Implement variable ranges so that the range start, step and end can also be an identifier. For example the following should also be possible:

for a in b:2:c {
}
@LefterisJP
Copy link
Contributor Author

This is now done but only up to the typechecking stage. Remaining is the to generate the backend code, tracked by: #28

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