Overview

Asterius compiles Haskell code to WebAssembly (Wasm). Its frontend is based on GHC.

The Asterius pipeline provides everything to create a Wasm instance which exports the foreign exported functions (e.g. main) that can be called from JavaScript to execute the main Haskell program.

Asterius pipeline

Asterius piepeline