tree-sitter/tree-sitter SLOC report

As of 2026-09-02 (commit c206ad1e6a4a), tree-sitter/tree-sitter contains 86,400 total lines: 72,382 code, 6,693 comments, 7,325 blank, across 284 files in 22 languages (top: Rust 56.7%). Counted with tokei via OctoCounts.

As of 2026-09-02 (commit c206ad1e6a4a), tree-sitter/tree-sitter contains 86,400 total lines: 72,382 code, 6,693 comments, 7,325 blank, across 284 files in 22 languages (top: Rust 56.7%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving tree-sitter/tree-sitter to commit c206ad1e6a4a, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 83.8% of all lines, comments represent 7.7%, and the repository averages 255 code lines per file. Rust accounts for 56.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Rust86461064103012573819
C4817146149178171412
C Header47890454962512896
JSON95000500000
TypeScript18411224111257444
JavaScript12107293416122
Nix57085636877
TOML12606524676
Python84553245972
Zig4261224235
Bitbake12862143537
Makefile22591981447

Top language (Rust 56.7%). Generated at .

Report FAQ

How many lines of code does tree-sitter/tree-sitter have?

tree-sitter/tree-sitter has 86,400 total lines, including 72,382 code lines, 6,693 comment lines, and 7,325 blank lines.

How was the tree-sitter/tree-sitter line count measured?

OctoCounts resolved the public GitHub repository to commit c206ad1e6a4a, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for tree-sitter/tree-sitter?

This OctoCounts report was generated from master at commit c206ad1e6a4a on 2026-09-02T09:23:43.846852247+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: