What is F# written in?

Year 2005 Paradigm functional, object-oriented, imperative Typing static Self-hosting yes
The F# compiler is written in F# (documented). F# uses a bootstrap chain from OCaml (documented). F# is self-hosting.

Relationship Graph

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

Compiler Implementation

LanguageConfidenceNotesSource
F# 92% F# compiler became self-hosting Source

Bootstrap Chain

LanguageConfidenceNotesSource
OCaml 90% F# initial compiler written in OCaml before self-hosting Source

Influenced By

Frequently Asked Questions

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

Evidence Sources

Related Languages

Explore F# in Graph →