What is Haskell written in?

Year 1990 Paradigm functional Typing static Self-hosting yes
The Haskell compiler is written in Haskell (well-documented). Its runtime is implemented in C (documented). Haskell is self-hosting.

Relationship Graph

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

Compiler Implementation

LanguageConfidenceNotesSource
Haskell 98% GHC is self-hosting, written in Haskell Source

Runtime Implementation

LanguageConfidenceNotesSource
C 90% GHC RTS (runtime system) written in C Source

Influenced By

Languages Haskell Influenced

Frequently Asked Questions

What language is Haskell written in?
Haskell is primarily implemented in Haskell and C. See the implementation section above for details and source references.
What languages influenced Haskell?
Haskell was influenced by ML, Miranda, Lisp among others. See the influence section above for the full list.
Which languages did Haskell influence?
Haskell influenced Elm, PureScript, CoffeeScript among others.
Is Haskell self-hosting?
Yes, Haskell is self-hosting — its compiler can compile itself.

Evidence Sources

Related Languages

Explore Haskell in Graph →