← All repos

ghc

Mirror of the Glasgow Haskell Compiler. Please submit issues and patches to GHC's Gitlab instance (https://gitlab.haskell.org/ghc/ghc). First time contributors are encouraged to get started with the newcomers info (https://gitlab.haskell.org/ghc/ghc/wikis/contributing).

Browse cluster: Haskell tooling and libraries
69,582commits
1,064contributors
33languages

Tech stack & purpose

This is the source repository for GHC, the Glasgow Haskell Compiler, a compiler and interactive environment for the Haskell functional programming language. GHC is written in Haskell itself and is built using Hadrian, a build system based on the Shake library. The project is a community effort developed by researchers, individual contributors, and full-time developers, with contributions governed by a core group as described in the repository's governance documentation. Building GHC requires several tools including Happy, Alex, Cabal, and a pre-existing GHC installation, along with optional tools like Haddock for library documentation and Sphinx for compiler documentation.

Community & reference links

Languages

Haskell
82.6%
C
8.3%
HTML
2.1%
Raku
1.5%
Makefile
0.9%
Python
0.9%
JavaScript
0.7%
C++
0.6%
M4
0.5%
Pascal
0.4%
Lex
0.3%
Shell
0.3%
Terra
0.3%
Gnuplot
0.2%
Yacc
0.1%
CSS
0.1%
TypeScript
0.1%
Game Maker Language
0.1%
Assembly
0.1%
Nix
0.0%
TeX
0.0%
Perl
0.0%
RPC
0.0%
Mermaid
0.0%
DTrace
0.0%
Roff
0.0%
Logos
0.0%
Batchfile
0.0%
Emacs Lisp
0.0%
Objective-C
0.0%
Objective-C++
0.0%
Haxe
0.0%
PostScript
0.0%

Contributors (top 30 of 1,064)