# valderman/haste-compiler

A GHC-based Haskell to JavaScript compiler

Repository: https://github.com/valderman/haste-compiler
Canonical: https://ross.abutalabs.com/products/haste-compiler
Homepage: http://haste-lang.org
Language: Haskell
License: BSD-3-Clause
License Family: permissive
Topics: haskell, javascript, ghc, web, language, compiler
Last push: 2019-03-17T10:49:58+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5333, "days_push": 2726, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1475, forks 106 (observed 2026-08-28T04:04:49.806604+00:00)

## What it is
Haste is a GHC-based compiler that translates Haskell programs into JavaScript, supporting most GHC extensions and standard Haskell libraries. It provides type-safe client-server communication, JavaScript interoperability, and Cabal integration for building web applications in Haskell.

## Use cases
- compile haskell to javascript
- build web apps in haskell
- run haskell code in the browser
- type-safe client-server communication in haskell
- interoperate haskell with javascript dom apis

## When to choose
- you want to write browser applications in Haskell with GHC extensions
- you need a single-program framework for Haskell client-server web apps
- you want simple JavaScript FFI from Haskell

## When to avoid
- you need an actively maintained compiler - the last release was 2019
- you need Template Haskell support
- you prefer modern alternatives like GHCJS or GHC's JavaScript backend

## Facets
- artifact type: cli-tool
- maturity: abandoned
- function: compiler, programming-language, web-framework
- domain: compilers, programming-languages, web-development
- platform: windows
- tags: haskell, ghc, javascript, transpiler, client-server, cabal, compiler, linux, macos, nodejs

## Member repositories
- valderman/haste-compiler (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:49.806604+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:32:48.757178+00:00, confidence not recorded.
  - readme: https://github.com/valderman/haste-compiler (fetched 2026-08-28T04:04:49.806604+00:00, sha 7a87937d2b8b)
  - homepage: http://haste-lang.org (fetched 2026-08-29T11:41:53.236880+00:00, sha 6f02703af2f6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
