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

Automatically track which variables are inside if/cond/while #1467

Open
josevalim opened this issue Mar 26, 2024 · 0 comments
Open

Automatically track which variables are inside if/cond/while #1467

josevalim opened this issue Mar 26, 2024 · 0 comments
Assignees
Labels
area:defn Applies to defn kind:chore Internal improvements

Comments

@josevalim
Copy link
Collaborator

Today this is done by the compiler, but it pushes a lot of complexity elsewhere. The if/cond/while nodes should automatically track the environment before them and keep it around. This will also allow us to implement while as closures.

@josevalim josevalim self-assigned this Mar 26, 2024
@josevalim josevalim added kind:chore Internal improvements area:defn Applies to defn labels Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:defn Applies to defn kind:chore Internal improvements
Projects
None yet
Development

No branches or pull requests

1 participant