alpha 0.1.0

Eco: Elm Compiler Optimized, built in Elm.

Self-hosted. Native output. No Haskell knowledge required.

Main.elm
module Main exposing (main)
 
import Html exposing (text)
 
-- A simple Elm program
main =
  text "Hello, Eco!"

How it works

1
Write Elm

Write standard Elm code using the types and patterns you already know and love.

2
Compile with Eco

Eco analyses, optimises, and compiles your code through MLIR and LLVM to high performance native.

3
Ship anywhere

Deploy native binaries, or web apps — from a single codebase.

Eco vs. the official Elm compiler

Feature
Elm Compiler
Eco
Written in
Haskell
Elm, C++ ✓
Output targets
JavaScript only
Native, JavaScript ✓
Build dependency
GHC required
Self-hosted ✓
Community contributions
Requires Haskell knowledge
Elm devs welcome ✓

Join the community

Eco is open source and community-driven. Contributors, testers, and feedback are all welcome.

Contribute on GitHub

Browse issues, submit PRs, or fork the project. The compiler is written in Elm — no Haskell required.

View Repository →
Ready to compile Elm to native?
Install in one command. Start building immediately.