{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"},{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"Provides a C# language parser for tree-sitter, enabling incremental syntax analysis and parsing of C# code from versions 1 through 13.0.","skillfed_tags":["parser","c-sharp","syntax-tree"],"use_cases":["Build a C# code linter or style checker that re-parses only changed sections on each edit.","Implement syntax highlighting or code folding in an editor or IDE plugin using incremental parsing.","Generate C# AST data for static analysis, refactoring tools, or code generation pipelines.","Create a language server protocol implementation for C# with incremental parsing support.","Parse C# code fragments (snippets, REPL input) without requiring a full compilation context."],"what_it_does":"tree-sitter-c-sharp is a language grammar binding that plugs C# parsing into the tree-sitter incremental parsing framework. It translates the Roslyn C# grammar into tree-sitter's format, with adaptations to handle preprocessor directives, syntax fragments, and edge cases where the two parsing technologies differ. The result is a fast, incremental parser that builds abstract syntax trees for C# code without external dependencies.\n\nYou use it by installing the package and importing the language binding. It's designed for tools that need to analyze, transform, or highlight C# syntax\u2014editors, linters, code generators, or language servers\u2014where incremental re-parsing on edits is valuable. The package supports C# 1 through 13.0, with a documented exception for `async`, `var`, and `await` as identifiers in certain contexts.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and fills a specific need for incremental C# parsing in the tree-sitter ecosystem. Install it if you're building tools that parse or analyze C# code and want fast, dependency-light syntax tree generation. The medium install friction is offset by broad platform support and zero runtime dependencies."},"id":"tree-sitter-c-sharp","links":{"html":"https://skillfed.io/packages/tree-sitter-c-sharp","md":"https://skillfed.io/packages/tree-sitter-c-sharp.md","pypi":"https://pypi.org/project/tree-sitter-c-sharp/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-14","license_spdx":null,"license_treatment":"permissive","name":"tree-sitter-c-sharp","python_support":"supports_current","summary":"C# grammar for tree-sitter"},"popularity":{"monthly_downloads":10740479,"position":1439,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.23.5"}
