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

cdios: disallow modification of for loop variable in body #65

Open
avanhatt opened this issue Nov 18, 2020 · 0 comments
Open

cdios: disallow modification of for loop variable in body #65

avanhatt opened this issue Nov 18, 2020 · 0 comments
Labels
missing Expected feature missing (i.e., compiler support lacking)

Comments

@avanhatt
Copy link
Contributor

If the body of a Racket for loop modifies the index variable, it does not persist to the next iteration: the front end of cdios should error on this (or do the smart thing and translate to an equivalent recursive while). Currently FFT is rewritten manually to a while loop to work around this.

@avanhatt avanhatt added the missing Expected feature missing (i.e., compiler support lacking) label Nov 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing Expected feature missing (i.e., compiler support lacking)
Projects
None yet
Development

No branches or pull requests

1 participant