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

R linting with treesitter #66

Open
grst opened this issue Nov 27, 2024 · 0 comments
Open

R linting with treesitter #66

grst opened this issue Nov 27, 2024 · 0 comments

Comments

@grst
Copy link
Collaborator

grst commented Nov 27, 2024

Description of feature

As long as we don't use a proper grammer that understands R, we are bound to have issues like #62. Increasingly complex regexes are just workarounds.

There's a tree-sitter grammar for R, and there are tree-sitter bindings for Python:
https://github.com/r-lib/tree-sitter-r
https://github.com/tree-sitter/py-tree-sitter

Maybe this would be a proper way of implementing this.

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

No branches or pull requests

1 participant