What is Unison written in?

The Unison compiler is written in Haskell.

Unison is a two or more musical parts sounding the same pitch; an interval of zero size (a frequency ratio of 1:1), first released in 2020.

Implementation

LayerWritten inNotes
CompilerHaskellUnison's implementation is written in Haskell.

Compiler implementation

The Unison compiler, written in Haskell, translates Unison source code into an executable or intermediate format. The choice of implementation language affects the compiler's portability, build-time dependencies, and the path toward Unison eventually becoming self-hosting.

Many language compilers are written in C or C++ for maximum portability and performance. When a compiler is written in a higher-level language, it can leverage that language's abstractions for clearer compiler code, at the cost of a longer bootstrap dependency chain.

Explore in the Graph

See Unison's full lineage, including all implementation and influence relationships, in the interactive graph.

Open Interactive Graph →

Or view the Unison language page for the complete record.

Related Pages