What is Mercury written in?

Year 1995 Paradigm logic, functional Typing static
Mercury uses a bootstrap chain from Prolog (documented).

Relationship Graph

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

Bootstrap Chain

LanguageConfidenceNotesSource
Prolog 90% Mercury compiler initially written in Prolog, then self-hosted Source

Influenced By

Frequently Asked Questions

What language is Mercury written in?
Mercury is primarily implemented in Prolog. See the implementation section above for details and source references.
What languages influenced Mercury?
Mercury was influenced by Prolog, ML among others. See the influence section above for the full list.

Evidence Sources

Related Languages

Explore Mercury in Graph →