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

Python Tree-Sitter: Lambda Variable Scoping #845

Open
titomeister opened this issue Mar 8, 2024 · 0 comments
Open

Python Tree-Sitter: Lambda Variable Scoping #845

titomeister opened this issue Mar 8, 2024 · 0 comments
Assignees
Labels
Code2FN enhancement New feature or request Proposed This is a label for proposed future issues to be addressed beyond ASKEM phase 1

Comments

@titomeister
Copy link
Contributor

One advanced Python feature that hasn't been done for Python2CAST is when a lambda references a variable outside of the lambda scope. This issue is to track the fact that it hasn't been done in tree-sitter to CAST yet.

y = 1
F = lambda x : x * y
@titomeister titomeister self-assigned this Mar 8, 2024
@titomeister titomeister converted this from a draft issue Mar 8, 2024
@titomeister titomeister added enhancement New feature or request Code2FN Proposed This is a label for proposed future issues to be addressed beyond ASKEM phase 1 labels Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code2FN enhancement New feature or request Proposed This is a label for proposed future issues to be addressed beyond ASKEM phase 1
Projects
None yet
Development

No branches or pull requests

1 participant