nim-lang/Nim

nim-lang/Nim has 215,428 source lines of code out of 332,651 total lines across 699 files, counted with tokei from the devel ref at commit 5b66f3bfeb99 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

nim-lang/Nim: 215,428 code lines at commit 5b66f3bfeb99, counted with tokei-15.0.0 on 2026-11-16. Saved result 4852ef6477d101089ca70e1a9bc56f092b8fc22546e3bca9b283613edbfe33a1.

OctoCounts produced this report by resolving nim-lang/Nim to commit 5b66f3bfeb99, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a large codebase by counted code lines. Code represents 64.8% of all lines, comments represent 26.4%, and the repository averages 308 code lines per file. Nim accounts for 95.2% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Nim5892798672050904878725990
HTML2242683531110627
Python42123147195557
Lean32042991907144
CSS1115091033207
C Header61419909293217
C21216804289123
Forge Config15864604129131
ReStructuredText37005240176
GNU Style Assembly2160144016
ReScript613012604
INI11521141028
Shell21641113617
Batch47865112
GDB Script13922152
BASH1251285
Markdown315345042911054
Plain Text63290903289415

Top language: Nim 95.2%. Generated on .

Counting rules and retention

nim-lang/Nim: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does nim-lang/Nim have?

nim-lang/Nim has 215,428 lines of code, plus 87,898 comment lines and 29,325 blank lines, for 332,651 total lines at commit 5b66f3bfeb99 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the nim-lang/Nim line count measured?

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

What commit was counted for nim-lang/Nim?

This OctoCounts report was generated from devel at commit 5b66f3bfeb99 on November 16, 2026.

Similar repository reports

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

Play the growth animation for nim-lang/Nim on this page — 215,428 code lines across 18 languages, counted by tokei.