Skip to content
Lennart Augustsson edited this page Apr 13, 2026 · 2 revisions

Welcome to the MicroHs wiki!

MicroHs (mhs) is a small compiler for Haskell. It compiles to combinators. To compile and run programs you just need a C compiler.

Install MicroHs

git clone --depth=1 git@github.com:augustss/MicroHs
make install

Running MicroHs

With no arguments, i.e., mhs, it starts in interactive mode. With an argument, i.e., mhs Mdl -oMdl.exe, it will compile Mdl to an executable.

Clone this wiki locally