Haskell Compiler

Open-source Haskell projects categorized as Compiler

Top 23 Haskell Compiler Projects

  • Elm

    Compiler for Elm, a functional language for reliable webapps.

    Project mention: Ludic: New framework for Python with seamless Htmx support | news.ycombinator.com | 2024-03-21

    Elm [1] is based on a similar idea. Build your app from pure functions that return HTML tags.

    [1] https://elm-lang.org/

  • idris

    A Dependently Typed Functional Programming Language

    Project mention: (strongly typed) functional language compilers running in browser | /r/functionalprogramming | 2023-03-31

    there're a lot of languages that can target js/wasm these days, some of which are even self-hosting (ghc) and can target browser (ghcjs), a lot are written in haskell which again can target browser but the closest to my request i've found is an old thread of idris supposedely compilable by ghcjs and while there are plenty "run your code in browser (via server compilation)" services i've yet to see a working "running compiler in browser in browser example"

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • write-you-a-haskell

    Building a modern functional compiler from first principles. (http://dev.stephendiehl.com/fun/)

    Project mention: A decade of developing a programming language | news.ycombinator.com | 2023-11-14

    I highly recommend https://github.com/sdiehl/write-you-a-haskell as it is very developer friendly. It’s not complete, but it really gets the gears turning and will set you up for writing your own Hendley-Milner style type checker.

  • futhark

    :boom::computer::boom: A data-parallel functional programming language

    Project mention: What downsides exist to Futhark? Seems almost too good to be true? | /r/CUDA | 2023-06-29

    Why Futhark? (futhark-lang.org)

  • haste-compiler

    A GHC-based Haskell to JavaScript compiler

  • grin

    GRIN is a compiler back-end for lazy and strict functional languages with whole program optimization support. (by grin-compiler)

  • kaleidoscope

    Haskell LLVM JIT Compiler Tutorial

    Project mention: Implementing a JIT Compiled Language with Haskell and LLVM (2017) | news.ycombinator.com | 2024-02-24
  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • egison

    The Egison Programming Language

    Project mention: The Egison Programming Language | /r/patient_hackernews | 2023-04-29
  • accelerate

    Embedded language for high-performance array computations (by AccelerateHS)

  • pi-forall

    A demo implementation of a simple dependently-typed language

  • morte

    A bare-bones calculus-of-constructions

  • husk-scheme

    A full implementation of the Scheme programming language for the Haskell Platform.

  • lawvere

    A categorical programming language with effects (by jameshaydon)

  • glambda

    The home of the Glamorous Glambda interpreter

  • eclair-lang

    A minimal, fast Datalog implementation in Haskell that compiles to LLVM IR

    Project mention: Should I abandon using haskell for my compiler? | /r/haskell | 2023-04-20

    /u/ltielen's Éclair language targets LLVM and is actively maintained, so I'd look at that implementation's LLVM setup.

  • codec-beam

    Generate Erlang VM byte code from Haskell

  • inspection-testing

    Inspection Testing for Haskell

  • accelerate-llvm

    LLVM backend for Accelerate

  • wasm

    Haskell WebAssembly Toolkit

  • ghc-proofs

    Let GHC prove program equations for you

  • ajhc

    A fork of jhc. And also a Haskell compiler.

  • pcf

    A small compiler for PCF

  • bound

    Combinators for manipulating locally-nameless generalized de Bruijn terms

    Project mention: What's the state of the art wrt representing bound variables in syntax trees with binding? | /r/ProgrammingLanguages | 2023-10-27

    First off, I am using Rust. I've begun by implementing an idea that is close in essence to bound, available in this playground. I believe that this is a good first step, but I am concerned with all the recursion leading to stack overflows and that analysing a term under a scope requires eliminating it, which in turn requires full tree traversals. There are ways to optimize the approach (such as caching variable occurrences in each scope node and skipping subtress when a variable I am looking for is not in it) but I wonder how far I can go with this approach and if there’s alternatives.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-03-21.

Haskell Compiler related posts

Index

What are some of the best open-source Compiler projects in Haskell? This list will help you:

Project Stars
1 Elm 7,434
2 idris 3,403
3 write-you-a-haskell 3,296
4 futhark 2,251
5 haste-compiler 1,444
6 grin 1,016
7 kaleidoscope 1,016
8 egison 900
9 accelerate 883
10 pi-forall 537
11 morte 372
12 husk-scheme 302
13 lawvere 262
14 glambda 215
15 eclair-lang 191
16 codec-beam 172
17 inspection-testing 171
18 accelerate-llvm 151
19 wasm 147
20 ghc-proofs 145
21 ajhc 135
22 pcf 121
23 bound 121
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com