This is a well-defined and practical enhancement request. Adding Tree-sitter support for the R language would significantly improve CodeGraph's ability to analyze and index R codebases. The proposed scope covers the most important R constructs, including function definitions, variable assignments, function calls, library imports, and source references, which are essential for accurate code navigation and dependency tracking.
The example provided clearly demonstrates the expected parsing behavior and makes the implementation requirements easy to understand. This feature would be particularly valuable for data science, statistical computing, and research projects that rely heavily on R.
Recommendation: Approve and prioritize implementation, as it expands language coverage while providing immediate value to R developers and analysts.
Originally posted by @psandeep02 in #828
Originally posted by @psandeep02 in #828