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
pattern matching parser support #4323
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: snowapril <[email protected]>
Signed-off-by: snowapril <[email protected]>
Signed-off-by: snowapril <[email protected]>
This would be huge for Ruff. |
ah, its parser part was not that much ready and I need to find how to add a soft-keyword concept to parser. |
I hope this can help Ruff to support pattern matching and close the issue charliermarsh/ruff#282 |
The dream... |
Sorry to double-post, but copying over my most recent comment from the related issue in Ruff:
|
To be honest, after watching @andersk's work, I thought his way would be much better than my hacky local work. |
cherry-picked from #3427
cc @Snowapril @charliermarsh