What is Nim written in?

Year 2008 Paradigm imperative, functional, object-oriented Typing static Self-hosting yes
The Nim compiler is written in Nim (well-documented). Nim is self-hosting.

Relationship Graph

All directly connected languages. Click any node to navigate to its page.

Compiler Implementation

LanguageConfidenceNotesSource
Nim 95% Nim compiler self-hosting from first release year Source

Transpilation

LanguageConfidenceNotesSource
C 95% Nim primarily transpiles to C Source
JavaScript 85% Nim also supports JS backend Source

Influenced By

Frequently Asked Questions

What language is Nim written in?
Nim is primarily implemented in Nim. See the implementation section above for details and source references.
What languages influenced Nim?
Nim was influenced by Python, Pascal, Ada among others. See the influence section above for the full list.
Is Nim self-hosting?
Yes, Nim is self-hosting — its compiler can compile itself.

Evidence Sources

Related Languages

Explore Nim in Graph →