Skip to content

[Lang] More evaluative build_for #8658

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

windwhiterain
Copy link
Contributor

When build ast for "for loop", decorators like "static", "grouped", exprs like "ndrange" are detected directly from ast. However, "mesh-for" is detected via evaluating the iterable statement's value.
I made some change that using similar evaluation to detect "grouped" and "ndrange" so that end user can wrap these method into there own iterable.
I'm motivated when developing a type hint rich wrapper for taichi, during which I found no way to wrap "grouped" nor "ndrange" into typed one.

@CLAassistant
Copy link

CLAassistant commented Mar 9, 2025

CLA assistant check
All committers have signed the CLA.

@feisuzhu
Copy link
Contributor

feisuzhu commented May 7, 2025

/rebase

@taichi-gardener taichi-gardener force-pushed the more_evaluative_build_for branch from 308ddf8 to 351c23f Compare May 7, 2025 14:32
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.

3 participants