Haskell GHC

Open-source Haskell projects categorized as GHC | Edit details

Top 23 Haskell GHC Projects

  • haskell-language-server

    Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.

    Project mention: Monthly Hask Anything (May 2022) | reddit.com/r/haskell | 2022-05-03

    There is work in progress to integrate the REPL into the HLS (basically what provides IDE functionality to vscode): https://github.com/haskell/haskell-language-server/issues/477

  • binaryen

    A Haskell to WebAssembly compiler

    Project mention: hint: Runtime Haskell interpreter | reddit.com/r/haskell | 2022-05-01

    Also, hint uses unsafeCoerce, and thus implicitly relies on an assumption about how values are represented at runtime. Namely, if a program P is interpreting an expression E of type A, hint assumes that the value of type A produced by the ghc interpreter has the same representation as the values of type A which are manipulated by program P. This is not guaranteed to be the case, since P has been compiled by the compiler portion of ghc while E has been evaluated by the interpreter portion of ghc. This means the ghc devs had to carefully craft their compiler and interpreters to match. When targetting the browser, a Haskell-to-js or Haskell-to-wasm compiler such as Asterius modifies ghc's code-generator so it produces js or wasm code. You would thus also need to tweak the interpreter so that it produces js or wasm values which match what the modified code-generator outputs. Or you could restrict yourself to the hint's less expressive eval :: String -> String API.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • haskell-exercises

    A little course to learn about some of the more obscure GHC extensions.

    Project mention: Type family therapy | reddit.com/r/haskell | 2022-01-09

    Hi, I'm going through i-am-tom's Haskell exercises, currently I'm doing "06-TypeFamilies", and I'm not getting the answer to question two to go through the type checker. The problem description is:

  • stan

    🕵️ Haskell STatic ANalyser (by kowainik)

    Project mention: Introducing Haskell in Soisy | reddit.com/r/haskell | 2021-06-04

    Would you be okay if we add Soisy to the list of companies using stan?

  • gi-atk

    Generate Haskell bindings for GObject-Introspection capable libraries

    Project mention: A solid GUI Framework for Haskell? | reddit.com/r/haskell | 2021-06-27

    gi-gtk (part of the haskell-gi project) is still actively maintained and it is in LTS 18.

  • higgledy

    Higher-kinded data via generics

  • ghc-lib

    The GHC API, decoupled from GHC versions

    Project mention: Learning materials for ghc-exactprint? | reddit.com/r/haskell | 2021-06-10
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • ghc-justdoit

    A magic typeclass that just does it

  • ghc-vis

    Visualize live Haskell data structures in GHCi

  • ghc-whole-program-compiler-project

    GHC Whole Program Compiler and External STG IR tooling

    Project mention: Haskell compiled onto LLVM increase performance? | reddit.com/r/haskell | 2021-11-02

    Here the goal is to build a high level, easy to understand model for all GHC backend features. Validations is also required. Once we know the semantics of GHC primops and RTS features then it becomes possible to figure out how to compile Haskell programs to GRIN. I started the GHC-WPC project for this reason. GHC-WPC exports the STG intermediate representation for the whole Haskell program, and I wrote an STG interpreter from scratch in Haskell that can run any Haskell program. (i.e. GHC itself) The STG interpreter is the high level model for the GHC primop and RTS semantics. It implements all these in pure Haskell, it does not depend on GHC RTS at all.

  • schematic

    type-safe JSON spec and validation tool

    Project mention: A review of JSON Schema libraries for Haskell | dev.to | 2022-04-10

    schematic: Last updated in 2021. "It can be thought of as a subset of JSON Schema", "Schematic schemas can be exported to json-schema".

  • ghc-source-gen

    Library for generating Haskell source files and code fragments.

  • ghcup-hs


    Project mention: can you recommend active Haskell open source projects? | reddit.com/r/haskell | 2022-03-30
  • ghc-events-analyze

  • ghc-exactprint

    GHC version of haskell-src-exts exactPrint

    Project mention: Learning materials for ghc-exactprint? | reddit.com/r/haskell | 2021-06-10

    If you're synthesizing code, beware that addAnnotationsForPretty will always add a preceding space, so it will break layout. The best approach I've found for synthesizing code is to construct an HsExpr GhcPs, use the GHC ppr stuff to prettty print it, and then parse that in order to get reasonable Anns for it.

  • ghc-syntax-highlighter

    Syntax highlighter for Haskell using the lexer of GHC

  • extensions

    👅 Parse Haskell Language Extensions (by kowainik)

  • vabal

    cabal in Valle

  • ghc-dump-tree

    Dump GHC's abstract syntax trees

  • ghc-dump

    A GHC plugin and library for analysing GHC Core

    Project mention: Deep embedding of Haskell in Haskell | reddit.com/r/haskell | 2021-07-15

    It kind of sounds like you want to script GHC. There's a plugin system for that, you could check out https://github.com/bgamari/ghc-dump for example. This library also provides a consistent representation for Core across multiple GHC versions.

  • ghc-make

    An alternative to ghc --make which supports parallel compilation of modules and runs faster when nothing needs compiling.

  • ghc-core

  • ghc-typelits-natnormalise

    Normalise GHC.TypeLits.Nat equations

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 2022-05-03.

Haskell GHC related posts


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

Project Stars
1 haskell-language-server 2,046
2 binaryen 1,895
3 haskell-exercises 575
4 stan 467
5 gi-atk 228
6 higgledy 163
7 ghc-lib 139
8 ghc-justdoit 119
9 ghc-vis 112
10 ghc-whole-program-compiler-project 88
11 schematic 84
12 ghc-source-gen 75
13 ghcup-hs 71
14 ghc-events-analyze 61
15 ghc-exactprint 61
16 ghc-syntax-highlighter 56
17 extensions 46
18 vabal 41
19 ghc-dump-tree 40
20 ghc-dump 39
21 ghc-make 38
22 ghc-core 37
23 ghc-typelits-natnormalise 34
Find remote jobs at our new job board 99remotejobs.com. There are 8 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives