tree‑sitter‑vb‑dotnet

July 24, 2025 · View on GitHub

npm version license

Tree‑sitter grammar for Visual Basic .NET (VB.NET) – incremental parsing for editors, code‑intel, refactoring tools and static‑analysis pipelines.


Status

FeatureSupport
Modules / Classes / Structures / Interfaces
Subs & Functions (incl. overloads, generics)
Properties (auto / get‑set)
Events & Delegates
Control‑flow (If…Else, Select Case, loops, Try…Catch)
LINQ / XML literals⚠️ planned
Preprocessor directives⚠️ parses as trivia only
Error recovery⚠️ basic

The grammar aims to cover VB 16.9 / .NET 5 syntax.
Bug reports / PRs are very welcome!


Installation

npm install tree-sitter tree-sitter-vb-dotnet   # parser + runtime