nim
What is a .nim file?
text/x-nim
Nim (.nim) source files contain programs in the Nim systems language, which compiles to C/C++/JS with Python-like syntax.
How to use a .nim file
Use example .nim files to test Nim language servers and highlighters on procs, objects, and error fixtures.
Download example .nim files
- Nim HelloMinimal Nim hello for nimlsp / highlighter tests.
- Nim ProcNim recursive fib proc — realistic snippet.
- Nim ObjectNim object type plus proc — for Nim AST tooling.
- Nim — Intentionally InvalidIntentionally invalid Nim for nim check error paths.
- Nim Template SAMPLENim Template SAMPLE for Wave G language-tooling coverage.