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

Add support for foreach? #98

Open
davesmith00000 opened this issue Oct 16, 2023 · 0 comments
Open

Add support for foreach? #98

davesmith00000 opened this issue Oct 16, 2023 · 0 comments

Comments

@davesmith00000
Copy link
Member

davesmith00000 commented Oct 16, 2023

Requires investigation, but essentially the idea would be to de-sugar foreach into a GLSL for loop.

We have the UV AST syntax for for loops, so the work is to figure out how to identify a foreach in the macro AST match, and decide if we can synthesis a for loop out of it.

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